Can't get action='flag' to work for conditional text

I'm new to DITA and have been trying to use conditional text in the DITA Open Toolkit.  I can get the 'include' and 'exclude' actions to work with no issues.  When I use the 'flag' action, the conditional text appears or disappears as desired, however, the 'flag' text does not appear.  By 'flag' text, I mean the text that is supposed to be prepended to the conditional text.

I've searched and searched on the web and tried all possible variations of the 'prop' element with action='flag' but I just can't get it to work.

Can somebody find an error in my approach and/or send an example that is known to work?

 Here are the files I'm using:

 .dita:

<?xml version="1.0" encoding="utf-8"?>
<!-- This file is part of the DITA Open Toolkit project hosted on
 Sourceforge.net. See the accompanying license.txt file for
 applicable licenses.-->
<!-- (c) Copyright IBM Corp. 2004, 2005 All Rights Reserved. -->

<!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Topic//EN"
 "../../dtd/topic.dtd">
<topic id="maintaining" xml:lang="en-us">
<title>Maintaining</title>
<shortdesc>You maintain your solution to ensure that all components
are operating at maximum efficiency.</shortdesc>
<body>
<p audience="administrator">Set the configuration options:
<ul>
<li product="extendedprod">Set foo to bar</li>
<li product="basicprod extendedprod">Set your blink rate</li>
<li>Do some other stuff</li>
<li platform="Linux">Do a special thing for Linux</li>
</ul>
</p>
</body>
</topic>

 

.ditamap:

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE map PUBLIC "-//OASIS//DTD DITA Map//EN"
 "../dtd/map.dtd">
<!-- This file is part of the DITA Open Toolkit project hosted on
     Sourceforge.net. See the accompanying license.txt file for
     applicable licenses.-->
<!-- (C) Copyright IBM Corporation 2001, 2005. All Rights Reserved.
 *-->
<map title="Eclipse content aggregated by a map">
   <topicref href="conditional.dita" type="topic"></topicref>
</map>

 

.valfile:

<?xml version="1.0" encoding="UTF-8"?>
<val>
   <prop att="audience" val="administrator" action="flag">
      <startflag><alt-text>ADMIN</alt-text></startflag>
   </prop>
   <prop att="product" val="extendedprod" action="exclude"/>
</val>

 

Output:

Maintaining

You maintain your solution to ensure that all components are operating at maximum efficiency.

Set the configuration options:
  • Set your blink rate
  • Do some other stuff
  • Do a special thing for Linux

Thank you for the suggestion, Bob.  I'll give it a shot.

Cheers,

Chris

Try submitting this question to the dita-users.org mailing list.

I expect you will get more answers.

Bob Doyle

XML.org Focus Areas: BPEL | DITA | ebXML | IDtrust | OpenDocument | SAML | UBL | UDDI
OASIS sites: OASIS | Cover Pages | XML.org | AMQP | CGM Open | eGov | Emergency | IDtrust | LegalXML | Open CSA | OSLC | WS-I