xsl-list
[Top] [All Lists]

RE: Sorting alphabetical entries.

2003-05-06 14:18:03

At 04:49 PM 5/6/2003 -0400, Blaise, Isaac J wrote:
something like
<xsl:template match="entry">
 <xsl:if test="substring(string,start,length)='foo'">
        <xsl:apply-templates/>
 </xsl:if>
</xsl:template>

        Actually, I used this:

        <xsl:template match="entry">
<xsl:if test="starts-with(title, 'A') or starts-with(episode, 'A')">
                                <xsl:apply-templates/>
                </xsl:if>
        </xsl:template>

        Yay for starts-with!

--->Ben

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



<Prev in Thread] Current Thread [Next in Thread>