On Mon, 2007-05-21 at 14:21 +0300, John Babich wrote:
On 5/21/07, Karsten Wade <kwade(a)redhat.com> wrote:
> A belated follow-up that has been sitting on my desktop ...
>
> On Sat, 2007-04-21 at 22:45 +0200, Robert M. Albrecht wrote:
>
> > Has docbook something like ifdef ?
>
> Yes, although the exact mechanism for XML escapes my ability to recall
> at the moment.
AFAIK, the most syntactically correct mechanism for conditionally
branching in XML
is XPATH.
See:
http://en.wikipedia.org/wiki/XPath for a quick explanation.
I was under the impression that XPath was more a specification for
locating or addressing parts of an XML document. There's much easier
ways to deal with this in DocBook using simple XSLT, e.g.:
http://www.sagehill.net/docbookxsl/Profiling.html
--
Paul W. Frields, RHCE
http://paul.frields.org/
gpg fingerprint: 3DA6 A0AC 6D58 FEC4 0233 5906 ACDB C937 BD11 3717
Fedora Project:
http://fedoraproject.org/wiki/PaulWFrields
irc.freenode.net: stickster @ #fedora-docs, #fedora-devel, #fredlug