[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Full path to a node
Hi all, Is it possible to print out the full path of a node with XSL? Let say I have a menu.xml like the following for a web application's menu system: <menu href="/" label="Home"> <menu href="manage/" label="Manage"> <menu href="customer/" label="Customer"> <menu href="customer/register/" label="Register" /> <menu href="customer/" label="Query" /> </menu> <menu href="project/" label="Project"> <menu href="project/register/" label="Register" /> <menu href="project/" label="Query" /> </menu> <menu href="employee/" label="Employee"> <menu href="employee/register/" label="Register" /> <menu href="employee/" label="Query" /> </menu> </menu> </menu> When I view the "Register A Project" page in the web application I want to print out: Home :: Manage :: Project :: Register at the top of the page. I tried writing several XSLs but most of them got stuck in infinite recursive loop or prints only the root node or the "Project Register" node. I just started learning XSL 2 days ago so I'm still not used to thinking in terms of XPath and XSL. I would really appreciate any suggestions and/or pointers. Thanks. Ronny 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
|