Subject: [xsl] Breadth First Traversal From: Dan Diebolt <dandiebolt@xxxxxxxxx> Date: Wed, 2 May 2001 17:52:03 -0700 (PDT) |
I need to traverse the attached XML *Breadth* First, at each a node calling template name="DoSomething". Identified by @id, the order needed is as follows: 1 1.1 1.2 1.3 1.1.1 1.1.2 1.1.3 1.2.1 1.2.2 1.2.3 1.3.1 1.3.2 1.3.3 1.1.1.1 1.1.1.2 1.1.1.3 1.1.2.1 1.1.2.2 1.1.2.3 1.1.3.1 1.1.3.2 1.1.3.3 1.2.1.1 1.2.1.2 1.2.1.3 1.2.2.1 1.2.2.2 1.2.2.3 1.2.3.1 1.2.3.2 1.2.3.3 1.3.1.1 1.3.1.2 1.3.1.3 1.3.2.1 1.3.2.2 1.3.2.3 1.3.3.1 1.3.3.2 1.3.3.3 Regards, Dan ----------------------- <a id="1"> <a id="1.1"> <a id="1.1.1"> <a id="1.1.1.1"/> <a id="1.1.1.2"/> <a id="1.1.1.3"/> </a> <a id="1.1.2"> <a id="1.1.2.1"/> <a id="1.1.2.2"/> <a id="1.1.2.3"/> </a> <a id="1.1.3"> <a id="1.1.3.1"/> <a id="1.1.3.2"/> <a id="1.1.3.3"/> </a> </a> <a id="1.2"> <a id="1.2.1"> <a id="1.2.1.1"/> <a id="1.2.1.2"/> <a id="1.2.1.3"/> </a> <a id="1.2.2"> <a id="1.2.2.1"/> <a id="1.2.2.2"/> <a id="1.2.2.3"/> </a> <a id="1.2.3"> <a id="1.2.3.1"/> <a id="1.2.3.2"/> <a id="1.2.3.3"/> </a> </a> <a id="1.3"> <a id="1.3.1"> <a id="1.3.1.1"/> <a id="1.3.1.2"/> <a id="1.3.1.3"/> </a> <a id="1.3.2"> <a id="1.3.2.1"/> <a id="1.3.2.2"/> <a id="1.3.2.3"/> </a> <a id="1.3.3"> <a id="1.3.3.1"/> <a id="1.3.3.2"/> <a id="1.3.3.3"/> </a> </a> </a> __________________________________________________ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] A probs!!, Dan Diebolt | Thread | RE: [xsl] Breadth First Traversal, Xuegen Jin |
RE: [xsl] A probs!!, Chris Bayes | Date | Re: [xsl] Plse Help! something to d, Poh Justin KT |
Month |