[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: declaring variable as document node, tunnel it com

Subject: RE: 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
RE:  declaring variable as document node
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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.