[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Usin Saxon and XInclude
Bob, I have been experimenting a bit with the XInclude class in Xerces and used your recipe in Chapter 19 regarding Saxon and Xerces 2.5.0. For that purpose, I used a book document, extracted the last appendix to a separate file. Since my stylesheet only contains the following template: <xsl:template match="@*|node()"> <xsl:copy> <xsl:apply-templates select="@*"/> <xsl:apply-templates/> </xsl:copy> </xsl:template> I would expect the resulting document to contain the original document, which it does. However, my document fragment also contains a doctype declaration. Apparently, this is not a good idea, because for some strange reason, the resulting document does also include the complete docbook DTD. I checked Xerces buglist, but could not see that anybody had identified this problem. Have you noticed this before ? Besides defining that Xerces should use the XInclude processor, you also define that Saxons should use Xerces as its default processor. What about if you want Saxon to uses Xerces by default, the XML Catalog Resolver and the XInclude class as well ? Regards, Jens
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]