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 Tobias McNulty <tm...@datadesk.com> on 2001/12/26 17:21:59 UTC

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: tmcnulty@datadesk.com
Web: www.datadesk.com