[xsl] Sorting alphabetical entries.

Subject: [xsl] Sorting alphabetical entries.
From: Ben Trafford <ben@xxxxxxxxxxxxx>
Date: Tue, 06 May 2003 15:29:19 -0400

Hi!


I have the following XML structure:

	<entry>
		<title></title>
			....
	</entry>

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="????">
		        	<xsl:apply-templates/>
		</xsl:if>
	</xsl:template>

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.

--->Ben


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



Current Thread