
Hi, I can't validate xref's when using XInclude. Though as I understand it should be possible with Apache Xerces-J. Comment out xref's and all is valid. When I transform the document the xref's (uncommented), are resolved correctly. Validation returns: "An element with the identifier "docbookxsl" must appear in the document. preface.xml" Any ideas? Following is relevant info from files. BOOK.XML --------------------------- <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [ <!ENTITY % xinclude SYSTEM "/home/sean/apps/oxygen/docbook/dtd/xinclude.mod"> %xinclude; <!ENTITY % global_ents SYSTEM "global.ent"> %global_ents; ]> <!-- I use a combination of XInclude and Entities --> <book> ... <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="preface.xml"> <xi:fallback xmlns:xi="http://www.w3.org/2001/XInclude">FIX ME</xi:fallback> </xi:include> ... <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="biblio.xml"> <xi:fallback xmlns:xi="http://www.w3.org/2001/XInclude">FIX ME</xi:fallback> </xi:include> </book> XREF IN PREFACE.XML --------------------------- <para>The first, "Docbook - The Definitive Guide" <xref linkend="docbookxsl"/> is about the Docbook Document Type Definition (DTD).</para> <para>The second, "Docbook XSL - The Complete Guide" <xref linkend="docbooktdg"/> is about the Docbook Stylesheets (XSL's).</para> BIBLIOENTRY in BIBLIO.XML --------------------------- <biblioentry id="docbookxsl"> <authorgroup> <author> <firstname>Bob</firstname> <surname>Stayton</surname> </author> </authorgroup> ... </biblioentry> <biblioentry id="docbooktdg"> <authorgroup> <author> <firstname>Norman</firstname> <surname>Walsh</surname> </author> <author> <firstname>Leonard</firstname> <surname>Muellner</surname> </author> </authorgroup> ... </biblioentry> .......................... Oxygen 4.2 Apache Xerces-J 2.6.2 Apache Xalan Java 2.5.1 SAXON 6.5.3 Apache FOP 0.20.5 OASIS DocBook XML DTD 4.2 DocBook XSL 1.64.1 -- Sean Wheller sean@enbaya.co.za http://www.enbaya.co.za