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

Theory question: Node trees and SQL.

Subject: Theory question: Node trees and SQL.
From: Phillip B Oldham <phillip.oldham@xxxxxxxxxx>
Date: Tue, 04 Jul 2006 13:16:04 +0100
trees in sql
Hi all

I posted a question a few months ago asking how to use trees stored in
SQL using Joe Celko's "nested sets" model and re-create the tree in HTML
(and got a very quick response - thanks guys).

I'd like to ask what in your opinion is the best way to store trees in
SQL for use with XSL translation. At the moment, using the nested set
model, my XML is similar to the following:

    <department name="Stationery" left="1" right="2" />
    <department name="Misc" left="3" right="6" />
    <department name="Haberdashery" left="4" right="5" />

Which should produce:
   - Misc

While it works fine for the output, the current storage method is
volatile, and is causing us problems in manipulation.

Can anyone suggest better techniques (other than using a native XML


Current Thread


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.
First Name
Last Name
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.