[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: SQL BTree to XML Tree?
On 1/18/06, drkm wrote: > You apply the template to your root 'item'. In the 'item' template > rule, you apply template to "../item[id=current()/lh]" and then to > "../item[id=current()/rh]". I didn't look enough carefully at your sample table data, and thought 'lh' and 'rh' were references to record ID to simulate a binary tree hierarchy. But the Michael's post saw me my error and named the SQL technique used here : Celko's. Sorry for the noise, --drkm
|
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
|