Subject: RE: listing elements & sub-elements in a seqence - skiping
From: Karl <call14@xxxxxxxxx>
Date: Wed, 26 Jul 2006 10:56:25 +0100 (BST)
|
opps i missed a point with ref to my previous email. When i mentioned
how to get
1.title [section title] will actually be linked to 1.html
2.title
3.title [ie section title appears only once before the start of 1st
subsection title & no links as 3.html is not exist]
3.1 title [subsection title] will be linked to 3.1.html
3.2 title [subsection title]
4.title
and so on..,
I meant getting this inside <xsl:for-each
select="//Session/Section[not(SubSection)] |
//Session/Section/SubSection"/>
In this instance I try to avoid using
<xsl:for-each select="//Section"/>
<xsl:value-of select="Title"/>
<xsl:for-each select="//SubSection"/>
<xsl:value-of select="Title"/>
as this involve lot many changes at lot many places.
Thanks
karl
___________________________________________________________
All new Yahoo! Mail "The new Interface is stunning in its simplicity and ease of use." - PC Magazine
http://uk.docs.yahoo.com/nowyoucan.html
|