[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: XSL resources - Flat to hierarchy - Common ancesto

Subject: RE: XSL resources - Flat to hierarchy - Common ancestors
From: "Ben Simkins" <bsimkins@xxxxxxxxxx>
Date: Tue, 27 Jul 2004 12:24:39 +0200
ben simkins
> 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>

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.