This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re:



> I have tried with xsl:param and xsl:variable and so on, but it doesn't work.

it would if you did it right, but can't say what you did, given the
information you posted:-)


but it's probably easier not to pass the information down as a parameter
and just go back up the tree to get it when you need it

something like (untested)

<xsl:for-each select="(ancestor-or-self:instance)">
 <xsl:value-of select="@name"/>
 <xsl:if test="position!="last()"/>/</xsl:if>
</xsl:for-each>

David


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]