Re: [xsl] need to write multiple branching tree hierarchies as numbered lists

Subject: Re: [xsl] need to write multiple branching tree hierarchies as numbered lists
From: Mark Fletcher <dafletcha@xxxxxxxxx>
Date: Sat, 31 Mar 2007 20:54:23 -0700 (PDT)
Thanks, Wendell! 

So all I have to do is this?:

<xsl:for-each select="step[not(step)]">
  <ol>
  <xsl:for-each select="ancestor-or-self::step">
    <li>...</li>
  </xsl:for-each>
  </ol>
</xsl:for-each>

(I haven't had a chance to actually test this yet. I'm just thinking
ahead to a potential project.)



 
____________________________________________________________________________________
Need Mail bonding?
Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users.
http://answers.yahoo.com/dir/?link=list&sid=396546091

Current Thread