Subject: RE: [xsl] getting all parent elements for breadcrumb nav From: Jarno.Elovirta@xxxxxxxxx Date: Tue, 16 Dec 2003 18:33:44 +0200 |
FAQ, > I am working on an application that uses the xbel dtd > for a set of bookmarks. In the xslt I am writing, I > want to create a breadcrumb navigation item at the top > so that the user can walk up and down the folders. I > pass in a folderID in the xml so that I can show the > proper folder and need to somehow grab all of that > folder's parent elements and put them into a > breadcrumb navigation line (Top folder > sub folder > > sub folder). <xsl:for-each select="ancestor::folder"> <xsl:value-of select="title"/> <xsl:text> > </xsl:text> </xsl:for-each> when bookmark is the current node. Cheers, Jarno XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] getting all parent elemen, David Carlisle | Thread | RE: [xsl] getting all parent elemen, Nathan Shaw |
[xsl] getting all parent elements f, Nathan Shaw | Date | Re: [xsl] getting all parent elemen, David Carlisle |
Month |