[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Recursive walk up tree
Hi folks, Can somebody please let me know of an XPATH expression on how to recursively walk up a tree. I have a tree of directories in an XML <directories> <directory name=blah> <directory name="blee"> ... to arbitrary depth </directory> </directory> </directories> I need to put each element into a <tr> and a <td> for each level. <table> <tr><td>blah</td></tr> <tr><td>spacer</td><td>blee</td></tr> <tr><td>spacer</td><td>spacer</td><td>...</td></tr> </table> TIA, Dinesh 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
|