You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xalan.apache.org by "LEUZINGER Claude (DSIT-EX)" <cl...@sncf.fr> on 2002/05/16 17:28:11 UTC
Entity resolution with catalogs and document()
the sun catalog resolver (and URI resolver) works well with xalan-j 2.3.
See ( http://wwws.sun.com/software/xml/developers/resolver/article/ )
But it does'nt work with this sample. ---pb with copy-of .. document( ..)
---
CRA_001.xml and CRA_002.xml DTD's are not resolved.
<?xml version='1.0' encoding='UTF-8'?>
<xsl:stylesheet version='1.0'
xmlns:xsl='http://www.w3.org/1999/XSL/Transform'>
<xsl:template match = "/">
<CRAset>
<xsl:copy-of select = "document ('CRA_001.xml')"/>
<xsl:copy-of select = "document ('CRA_002.xml')"/>
</CRAset>
</xsl:template>
</xsl:stylesheet>
Is there some way to resolve this problem ?
Thanks.