Subject: [xsl] template matching From: "james walker" <jameswalkerandy@xxxxxxxxxxx> Date: Wed, 04 Feb 2004 13:26:30 +0000 |
<main> <sub1><note></note><note></note><note></note></sub1> <sub2></sub2> <sub3><note></note></sub3> <sub4><note></note><note></note><note></note><note></note></sub4> <sub5></sub5> </main>
<xsl:template match="sub1"> <ul> <xsl:apply-templates select="note" /> </ul> </xsl:template>
<xsl:template match="sub3"> <ul> <xsl:apply-templates select="note" /> </ul> </xsl:template>
<xsl:template match="sub4"> <ul> <xsl:apply-templates select="note" /> </ul> </xsl:template>
<xsl:template match="note"> <li><xsl:value-of select="note" /></li> </xsl:template>
cheers james
_________________________________________________________________ Express yourself with cool new emoticons http://www.msn.co.uk/specials/myemo
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[no subject], David Carlisle | Thread | Re: [xsl] template matching, Peter Flynn |
[no subject], David Carlisle | Date | [xsl] RE:, SHEIKH Sajjad |
Month |