Title: Strange Hierarchy request error
I have an XML file that looks like this:

<?xml version="1.0" encoding="iso-8859-1"?>
<root>
        <somenode>some value</somenode>
</root>

and an XSL stylesheet that looks like this:

<?xml version="1.0" encoding="iso-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="html" indent="yes"/>

<xsl:template match="/">
    <xsl:value-of select="//somenode"/>
</xsl:template>
</xsl:stylesheet>

When I use Xalan to do a transformation, I get a DOMException that reads "DOM006 Hierarchy request error" in org.apache.xalan.TransformerImpl.transformNode().

Any idea what I might be missing here?

Thanks,

Toby
-- 
Tobias McNulty
Data Description, Inc.
840 Hanshaw Road, Suite 9
Ithaca, NY 14850
Phone: (607) 257-1000
E-mail: [EMAIL PROTECTED]
Web: www.datadesk.com



Reply via email to