xsl-list
[Top] [All Lists]

calling templates

2004-06-21 03:36:23
if u have an xml file like this:
<main>
<name>
<desc>
<link></link>
<section></section>
.........(the any number of section an dlink tags in any order)
</main>

and u had a template match currently in main, how would u do an <xsl:apply-templates /> on all the <link> and <section> tags but not the <name> and <desc> tags? i thought about <xsl:apply-templates select="link" /> and then <xsl:apply-templates select="section" /> but that would do it in two groups, i would like to apply the template sin the order they appear in the xml file......
can anyone help
cheers
james walker

_________________________________________________________________
It's fast, it's easy and it's free. Get MSN Messenger today! http://www.msn.co.uk/messenger



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