Pages: 1
Print
Author Topic: Is it possible to create re-usable content that is also conditional?  (Read 250 times)
mtbowers
Member

Posts: 6


« on: July 29, 2011, 12:29:55 PM »

Product: Xmetal v6.0.1

I created a re-usable piece of content for my product's proper name. Now, I'm trying to make it conditional so that when I generate output for "Product A," the proper name used throughout the manual is "Product A;" and when I generate output for "Product B," the proper name throughout the manual is "Product B." However, I can't seem to generate "Product B" successfully. Can someone look at my XML and let me know if I'm doing something wrong? Could it be a conref problem?

Here's the XML for the re-usable content:

Code:
<?xml version="1.0"?>
<!DOCTYPE ditacomponent PUBLIC "-//XMETAL//DTD DITA Component//EN" "ditacomponent.dtd">
<ditacomponent id="ditacomponent_14EB696CB3F644FBAD24797FA1316442">
<description>system_proper_name</description><compbody><reusable-content><ph id="ph_producta"
product="producta">ProductA</ph><ph id="ph_productb" product="ProductB">Product B</ph></reusable-content></compbody></ditacomponent>
« Last Edit: July 29, 2011, 12:36:34 PM by mtbowers » Logged
Pages: 1
Print
Jump to: