xsl-list
[Top] [All Lists]

Sorting alphabetical entries.

2003-05-06 12:29:19

        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



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