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

RE: Selection based on date comparison

Subject: RE: Selection based on date comparison
From: Jeremiah Brown <jbrown@xxxxxxxxxx>
Date: Fri, 30 Nov 2001 15:45:34 -0500
xalan date comparison
The result of concat() is a string, which cannot be coverted to a node-set
(string-->node-set conversion is not allowed.)

-----Original Message-----
From: Dennis Campillo [mailto:dcampillo@xxxxxxx]
Sent: Friday, November 30, 2001 3:36 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re:  Selection based on date comparison


I know that this is a horribly nasty XSL Select statement, but from what 
I've read so far, it should work. However when run it through Xalan I get 
"value of expression cannot be converted to a node set"

<xsl:for-each 
select="concat(substring(/accountelement/Ledger_Element/Ledger_Entry/@Trade_
Date,7,4),substring(/accountelement/Ledger_Element/Ledger_Entry/@Trade_Date,
1,2),substring(/accountelement/Ledger_Element/Ledger_Entry/@Trade_Date,4,2))
&gt;concat(substring(/accountelement/Ledger_Element/filtervalues/@timeframe,
7,4),substring(/accountelement/Ledger_Element/filtervalues/@timeframe,1,2),s
ubstring(/accountelement/Ledger_Element/filtervalues/@timeframe,4,2))">


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.