This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[docbook-apps] psgml and XInclude elements in DocBook XML


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]