xsl-list
[Top] [All Lists]

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

2007-03-31 20:54:45
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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

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