|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: org.apache.xpath.objects.XRTreeFrag error
Thorsten,
Whenever you do something like: <xsl:variable> .. something other than a scalar value </xsl:variable> You end up with a "tree fragment", as you've found. Such fragments need to be converted to a nodeset, which extension function is offered by various processors. "node-set", by the MSXML processor, "nodeset" by xalan, etc. You should be able to find examples on the net. As far as possible, however, try not to create a tree fragment (in XSLT 1.0); it makes life easier. In Your case you could define your variable as: <xsl:variable name="objectProperty" select="..."/> and you'd get back a node-set that could be simply traversed further downstream. Regards, --A From: Thorsten Scherler <thorsten@xxxxxxxxxx> Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: org.apache.xpath.objects.XRTreeFrag error Date: Fri, 06 May 2005 14:32:14 +0200 _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
|
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
|

Cart








