You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by ge...@sun.com on 2001/02/09 01:17:24 UTC

Re: Problems with document() in Xalan Java 2

I've got a fairly small example, test.xsl:
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform version="1.0">

<xsl:output method="xml" indent="yes"/>

<xsl:strip-space elements="*"/>

<xsl:template match="/">
  <xsl:value-of select="document('/gfink/xsl/xml/test.xsl')"/>
</xsl:template>

</xsl:stylesheet>

I get SystemId Unknown; Line 9; Column 65

(I know its reading the file because if i give it a bogus file name that 
doesn't exist I get a different more explicable error)

--George