2008/11/26 Thomas Christensen <tchristensen@nordija.com>:
> Should I just go for docbook 5.0? Does that remove the pain with using
> xincludes with dtds (no validation)?
> Thomas
It won't help.
You need to process your xIncludes prior to further processing.
I might call it a 'pre-processing' step? Almost part of the parser.
I use ant with the step
<target name="xinclude" >
<echo>Expand Xincludes </echo>
<exec executable="/usr/bin/xmllint" failonerror='true'>
<arg value="-o"/>
<arg value="tmp.xml"/>
<arg value="--xinclude"/>
<arg value="${main.infile}"/>
</exec>
</target>
or from the command line
$xmllint -o tmp.xml --xinclude Yourfile.xml
HTH
-- Dave Pawson XSLT XSL-FO FAQ. Docbook FAQ. http://www.dpawson.co.uk ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo@renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.htmlReceived on Wed Nov 26 03:13:18 2008
This archive was generated by hypermail 2.1.8 : Wed Nov 26 2008 - 03:13:25 PST