Fragmentation in Linux Documentation?

Paul W. Frields stickster at gmail.com
Mon May 21 13:25:17 UTC 2007


On Mon, 2007-05-21 at 14:21 +0300, John Babich wrote:
> On 5/21/07, Karsten Wade <kwade at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.fedoraproject.org/pipermail/docs/attachments/20070521/426688c8/attachment.bin 


More information about the docs mailing list