XInclude internal references and ID clashes processing

Dear all,

If I am not mistaken the example below should be correct according to the
XInclude specification. If not please correct me. However, it is not clear
to me how the XML file would look like after processing this file with an
XInclude processor. I tried both the Apache and LibXML ones but they do not
seem to support the xpointer attribute. Afterwards I tried to do it manually
based on the specification but I do not seem to be able to be 100% sure of
the result. I am not sure if I interpret 4.5.3 from the XInclude spec
correctly. 

<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:xi="http://www.w3.org/2001/XInclude">
  <Declaration>
    <Text id="copyright">Copyright MyCompany.</Text>
  </Declaration>
  <Instantiation>
    <xi:include xpointer="copyright"/>
    <xi:include xpointer="copyright"/>		
  </Instantiation>
</root>

If this is not the correct mailing list to ask this kind of questions please
refer me to the correct mailing list.

Thanks,

Frederik De Keukelaere
 
--
Ghent University - Multimedia Lab
Sint-Pietersnieuwstraat 41
B-9000 Ghent, Belgium

Received on Thursday, 2 June 2005 17:25:55 UTC