Archive - Dec 2007
Problem with conditional exclusion
Forum topic: Submitted by Dave McGovern on Wed, 2007-12-05 15:38.
I am trying to use a .ditaval file to display conditional text:
<?xml version="1.0" encoding="UTF-8"?>
<val>
<prop att="audience" val="user" action="exclude"/>
</val>
In my topic, I have an element defined thusly:
<p audience="user">Only display this text for admin users</p>
When I do my build in debug mode, it seems to resolve ant.input.valfile correctly:
Bob Doyle
DITA: One Size Fits All for Technical Publishing?
Blog entry: Submitted by Bob Doyle on Tue, 2007-12-04 16:22. Last updated on Mon, 2007-12-10 09:24.
Back in June 2006 I wrote an XML Editors review article for EContent Magazine that covered a dozen desktop and web-based authoring tools for XML. That article was a bit too hard on both the writer and editorial staff, so we’re not likely to do it again soon. (I may publish a revised study on the web instead).