Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Re: How to get node in the order the xml is given [Thread Next] Re: How to get node in the order the xml is givenTo: NULL Date: 6/29/2009 10:47:00 AM On Sun, 28 Jun 2009 05:41:21 -0700 (PDT), naijacoder
<lurowam@g...> wrote:
><xsl:for-each select="catalog/cd">
> <tr>
> <td><xsl:value-of select="title"/></td>
> <td><xsl:value-of select="artist"/></td>
> </tr>
> </xsl:for-each>
<xsl:for-each select="catalog/*">
<tr>
<td><xsl:value-of select="title"/></td>
<td><xsl:value-of select="artist"/></td>
</tr>
</xsl:for-each>
That will match any node (cd, dvd, bluray, foo, bar)
HTH
Cheers - Neil
------------------------------------------------
Digital Media MVP : 2004-2009
http://mvp.support.microsoft.com/mvpfaqs
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
