Subject: [xsl] Not parsing sub-nodes From: "Roshan Sharma" <roshansharma@xxxxxxxxxxx> Date: Fri, 09 Mar 2001 07:15:40 |
Scenario: A company can have many offices and branch companies Each brach can have 0+ offices and their brach companies Basically it is a tree, and I want to print its elements.
Thanks in advance, Rosh
<xsl:template match="/*"> <xsl:value-of select="."/> <xsl:for-each select="company"> <xsl:apply-templates select="company"/> </xsl:for-each> </xsl:template>
<xsl:template match="office"> <xsl:value-of select="."/> <xsl:apply-templates select="office"/> </xsl:template>
_________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Copy XHTML element conten, cutlass | Thread | Re: [xsl] Not parsing sub-nodes, David Carlisle |
[xsl] RE: Printer Control Character, Michael Kay | Date | RE: [xsl] Copy XHTML element conten, Michael Kay |
Month |