[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: getting all parent elements for breadcrumb nav

Subject: RE: getting all parent elements for breadcrumb nav
From: Nathan Shaw <n8_shaw@xxxxxxxxx>
Date: Tue, 16 Dec 2003 11:35:52 -0800 (PST)
breadcrumb nav
Doh! Thinking too hard I guess =;>

Thanks!



--- Jarno.Elovirta@xxxxxxxxx wrote:
> 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> &gt; </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
> 


__________________________________
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/

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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.