Saxon supports XInclude only insofar as it will pass a request to the XML parser to do XInclude processing. That mainly applies to Xerces.
 
According to http://xerces.apache.org/xerces2-j/faq-xinclude.html, Xerces does not support the xpointer() scheme in XInclude.
 
You would have to implement this support yourself by translating the XInclude into a call on document('Libri%20acquisti.xml')/libri/libro
 
Michael Kay
http://www.saxonica.com/


From: Pierluigi Fabbris [mailto:pierluigi.fabbris@email.it]
Sent: 30 April 2009 08:12
To: saxon-help@lists.sourceforge.net
Subject: [saxon] Xpointer and Saxon

Hi,

I’ve the saxon 9.1. B and this code:

 

 

<?xml version="1.0"?>

<!DOCTYPE catalogo SYSTEM "catalogo.dtd">

<catalogo xmlns:xinclude="http://www.w3.org/2001/XInclude">

<xinclude:include href="Libri acquisti.xml#xpointer(libri/libro)"/>

</catalogo>

 

I don’t put the other  files to be short. I’ve the Libri acquisti.xml and the xinclude does. Why xpointer doesn’t do? Saxon supports Xpointer? I don’t under stand if Xpointer is supported from Saxon. Xpointer is supported from Saxon? SaxonB or SaxonA?

Hoping in a reply,

Sincerely yours,

 

 

Fabbris Pierluigi 
Via alle Grazie, 10/a

38050 Canal San Bovo

Tel. 3467168672