xsl-list
[Top] [All Lists]

RE: XSL resources - Flat to hierarchy - Common ancestors

2004-07-27 03:24:39
So instead do

 <xsl:for-each select="msxsl:node-set($menus)/*">

Wow, good job you told me, I could have carried on looking for a long
time without working that out.

But it still ain't workin' right
I tried the following, to try and see what was coming out of my select,
but it crashes (in CookTop). At which point I'm stuck because I don't
know if it's my syntax, my understanding of XSL, or CookTop which is at
fault!

<xsl:template match="/">
  <xsl:variable name="menus">
        <xsl:apply-templates select="Menus"/>
  </xsl:variable>       
  <xsl:copy>
    <xsl:copy-of select="msxsl:node-set($menus)/*"/>
  </xsl:copy>
</xsl:template>