This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
[docbook-apps] psgml and XInclude elements in DocBook XML
- From: Steinar Bang <sb at dod dot no>
- To: docbook-apps at lists dot oasis-open dot org
- Date: Mon, 07 Apr 2003 10:04:50 +0200
- Subject: [docbook-apps] psgml and XInclude elements in DocBook XML
- Organization: Probably a good idea
Does anyone know of a way to make psgml ignore, or allow <xi:include>
elements in <programlisting>?
Since xsltproc is a lot faster than the Java XSLT processors, I would
like to use XInclude elements to include text files into
<programlisting> elements, as shown in Bob Stayton's book:
http://www.sagehill.net/xml/docbookxsl/SolveProblems.html#ProgramListings
The problem is that <xi:include> is not a legal element at that point,
according to the DocBook XML 4.2 DTD. Is there a non-intrusive way of
adding this element to the DTD in the appropriate way? Ie. a way that
doesn't involve changing the DTD?
Are there modifications that can be done to psgml's understanding of
the DocBook XML DTD?
Thanx!
- Steinar
---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe at lists dot oasis-open dot org
For additional commands, e-mail: docbook-apps-help at lists dot oasis-open dot org