This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Selection based on date comparison
- From: "Dennis Campillo" <dcampillo at msn dot com>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Fri, 30 Nov 2001 13:36:02 -0700
- Subject: Re: [xsl] Selection based on date comparison
- Reply-to: xsl-list at lists dot mulberrytech dot com
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))>concat(substring(/accountelement/Ledger_Element/filtervalues/@timeframe,7,4),substring(/accountelement/Ledger_Element/filtervalues/@timeframe,1,2),substring(/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