[xml] Problems with Xinclude and Xpointer in xsltproc

I am trying to merge parts of one document into another with xsltproc, using Xinclude and Xpointer attribute.

xsltproc -V
Using libxml 20614CVS2190, libxslt 10111CVS955 and libexslt 809CVS955
xsltproc was compiled against libxml 20614, libxslt 10111 and libexslt 809
libxslt 10111 was compiled against libxml 20614
libexslt 809 was compiled against libxml 20614

It works accept for the shorthand notation for Xpointer, using the ID attribute of the included portion of 
the document.

mybook.xml includes elements from mychapter.xml

xinclude.xsl just copies input to output.

The problem is seen in result.xml, where the last xi:include uses an id value in the xpointer attribute.

This should be OK with the Xinclude spec?

Vidar Sørensen
Kongsberg defence & Aerospace

Attachment: xinclude.xsl
Description: xinclude.xsl

Attachment: mychapter.xml
Description: mychapter.xml

Attachment: result.xml
Description: result.xml

Attachment: mybook.xml
Description: mybook.xml

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]