[XML-SIG] external entities and CDATA sections

Lars Marius Garshol larsga@garshol.priv.no
29 May 2001 14:36:25 +0200


* Alexandre Fayolle
| 
| While writing some documentation, I wanted to include some python
| code in a docbook document.

Some ideas:

 - reference it using unparsed entities (you must then pull in the
   code yourself)

 - reference the code using XInclude, with the type attribute set to
   'text' and write a simple SAX parser filter that does the inclusions
   for you (I have demo code that does this, email me if interested)

 - preprocess the source code and use entity references to the
   processed code

I hope this helps and isn't too late.

--Lars M.