Subject: Re: filtering XML file using starts-with
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 18 Dec 2003 14:49:52 GMT
|
Without showing us the input form you are making us guess....
<xsl:starts-with(Module, $sModule)>
there is no xsl:starts-with element, so that will be a synatx error.
You want something like
<xsl:template match="/">
<xsl:for-each select=Sales/Summary[starts-with(Module,$sModule)]">
<xsl:sort select....
assuming Module is a child of Summary
--
http://www.dcarlisle.demon.co.uk/matthew
________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
- filtering XML file using starts-with
- Dan - Thu, 18 Dec 2003 09:14:49 -0500 (EST)
- David Carlisle - Thu, 18 Dec 2003 09:50:51 -0500 (EST) <=
- <Possible follow-ups>
- Dan - Thu, 18 Dec 2003 10:18:42 -0500 (EST)
- Dan - Thu, 18 Dec 2003 11:20:54 -0500 (EST)
|
|