|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Keeping track of parents
> Most of it I can generate, but how can I fill the parentid?
> If there is no
> ancestor-element named <somenode> then the parent_id should
> be 0, else the
> parent_id should be the group_id of the ancestor.
<xsl:attribute name="parent_id">
<xsl:choose>
<xsl:when test="ancestor::somenode">
<xsl:value-of select="ancestor::somenode[1]/@group_id"/>
</xsl:when>
<xsl:otherwise>0</...
Mike Kay
Software AG
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








