Re: Using document() with a document containing xi:includes

On Mon, 2018-04-16 at 21:16 -0500, David Cramer wrote:
> 
> The only way I've ever gotten document() in an xslt to provide me
> with an file with xincludes resolved 

This will depend on the XSLT engine - most don't do XInclude processing
themselves.

https://www.saxonica.com/html/documentation/sourcedocs/XInclude.html

may be helpful.

But the other way is to do the expansion and send the expanded document
(or documents) through the pipeline.

As i recall there's a debugging option you can use with Calabash at
least that will save the contents of the pipeline to a file, so you can
check if it's doing what you expect at that point.


-- 
Liam Quin, W3C, http://www.w3.org/People/Quin/
Staff contact for Verifiable Claims WG, SVG WG, XQuery WG
Improving Web Advertising: https://www.w3.org/community/web-adv/
Personal: awesome vintage art: http://www.fromoldbooks.org/

Received on Tuesday, 17 April 2018 04:04:39 UTC