View Full Version : Persist DOM Tree into DB?

March 31st, 2009, 03:36 AM
If we had a XML DOM Tree in memory and wanted to persist it to a Database, what kind of data type/structure would we need to store a tree/node structure?

I know we can have object types in a DB but I do not know exactly how we could model a tree structure such as DOM with those types?

Any advice is welcome?