xsl-list
[Top] [All Lists]

RE: [xsl] declaring variable as document node, tunnel it comes out as untyped

2007-05-13 13:40:11

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(_dot_)bryan(_at_)gmail(_dot_)com] 
Sent: 12 May 2007 17:24
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>