W3C home > Mailing lists > Public > xproc-dev@w3.org > August 2013

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

From: David Cramer <david@thingbag.net>
Date: Sat, 24 Aug 2013 22:08:19 -0500
Message-ID: <52197523.8070903@thingbag.net>
To: XProc Dev <xproc-dev@w3.org>
Btw., here's the pipeline and xslt:

https://github.com/rackerlabs/olink-maven-plugin/blob/master/src/main/resources/olink/olink.xpl

https://github.com/rackerlabs/olink-maven-plugin/blob/master/src/main/resources/olink/make-olink-db.xsl

The input document would look like this:

<books xmlns="http://docs.rackspace.com/olink">
  <book path="src/docbkx/writers-guide.xml"/>
</books>

The xslt uses the DocBook xslts to create the target database for each
document and spits out a single olink target database for the
book/@paths specified.

Regards,
David

On 08/24/2013 10:02 PM, David Cramer wrote:
> Hi there,
> I have an xslt that uses document() to open an xml document containing
> xi:includes. When I run the xslt directly with Saxon 9.x (including the
> -xi:on switch), it resolves all the xi:includes are resolved as
> expected. However when I invoke this xslt from within an Xproc pipeline
> processed by Calabash, the xincludes are not resolved. Is there a way to
> cause the document() function to resolve xincludes when invoked from
> p:xslt in Calabash? I've tested this with Calabash 1.0.13-94.
> 
> Regards,
> David
> 
Received on Sunday, 25 August 2013 03:09:00 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:03:11 UTC