Re: [xep-support] Problem with xinclude?

From: Thomas Christensen <tchristensen@nordija.com>
Date: Wed Nov 26 2008 - 05:09:47 PST

Ok. Generating a complete all in one xml file will also improve the
validation part of docbook 4.5+xincludes.
However - it works when I use XEP from within XMLEditor instead of the
commmand line XEP!

The normal xincludes (ie. href actually points to a file) works in
both places, and only the xpointer versions fails.

I'll try the preprocessor step option.

Thomas

On 26 Nov 2008, at 11:49, Dave Pawson wrote:

> 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.html

-------------------
(*) 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.html
Received on Wed Nov 26 05:52:29 2008

This archive was generated by hypermail 2.1.8 : Wed Nov 26 2008 - 05:52:35 PST