RE: [xsl] Sorting alphabetical entries.

Subject: RE: [xsl] Sorting alphabetical entries.
From: "Blaise, Isaac J" <iblaise@xxxxxxxxxxxxx>
Date: Tue, 6 May 2003 16:49:40 -0400
Hi Ben,

I suggest you use the substring() function in your test.

something like 
<xsl:template match="entry">
 <xsl:if test="substring(string,start,length)='foo'">

you'll have to change what your 'string' is, and what foo is, but that should work for ya.

-----Original Message-----
From: Ben Trafford [mailto:ben@xxxxxxxxxxxxx]
Sent: Tuesday, May 06, 2003 3:29 PM
To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx
Subject: [xsl] Sorting alphabetical entries.


	I have the following XML structure:


	I have many entries. Let's say I want to limit my output to only those 
entries which contain titles starting with the letter 'A'.

	I'm assuming it would look something like this:

	<xsl:template match="entry">
   		<xsl:if test="????">

	So, what the heck is my test, in this instance? Doubtlessly, I'm thinking 
waaaay too hard on this subject, and have missed something obvious.


 XSL-List info and archive:

 XSL-List info and archive:

Current Thread