[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
RE: [xsl] declaring variable as document node, tunnel it comes out as untyped
Subject: RE: [xsl] declaring variable as document node, tunnel it comes out as untyped From: "Michael Kay" <mike@xxxxxxxxxxxx> Date: Sun, 13 May 2007 21:39:40 +0100 |
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: [xsl] 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Re: declaring variable as doc, bryan rasmussen | Thread | [xsl] Replacing the space character, Mark Peters |
SV: [xsl] xsl:function problem, Soeren Kuula | Date | Re: [xsl] Replacing the space chara, mozer |
Month |