[xep-support] Merge XML files before generating PDF

W. Eliot Kimber ekimber at innodata-isogen.com
Tue Jan 23 07:57:03 PST 2007


Jerry Janofsky wrote:
> Chris,
> 
> You can use xi:include with an href="locationOfYourXmlDocument". This will
> work if your included XML doc has exactly what you want to include. It can't
> have anything such as "<?xml version="1.0" encoding="UTF-8"?>" on the top or
> that will get included also. It must have only the definition of the node
> you are importing.

This is not true. XInclude operates at the *processing* level and not 
the syntactic level. The only constraint XInclude imposes is that the 
IDs within the included documents must not conflict with any IDs within 
any other included documents (or the including documents).

If you are using an Xinclude implementation that fails when you include 
a document with an XML declaration then it is not a valid XInclude 
implementation.

Cheers,

Eliot

-- 
W. Eliot Kimber
Professional Services
Innodata Isogen
8500 N. Mopac, Suite 402
Austin, TX 78759
(214) 954-5198

ekimber at innodata-isogen.com
www.innodata-isogen.com

-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo at 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



More information about the Xep-support mailing list