RE: declaring variable as document node, tunnel it com
It sounds as if you're supplying an element node for a parameter where a document node is expected. Can't debug this for you without seeing all the relevant parts of the stylesheet. Michael Kay http://www.saxonica.com/ > -----Original Message----- > From: bryan rasmussen [mailto:rasmussen.bryan@xxxxxxxxx] > Sent: 12 May 2007 17:24 > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Subject: declaring variable as document node, tunnel it > comes out as untyped > > Hi, > > I'm tunneling a variable tree2 > > it is declared as follows: > <xsl:param name="tree2" as="document-node()" > tunnel="yes"><ignore/></xsl:param> > > 'trying to apply templates on this causes an error in saxon > value has type element (...xpath-datatypes) untyped: > > I have removed all other mentions of the variable in the > stylesheet so it is not getting retyped anywhere. > > Thanks, > > Bryan Rasmussen
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format