• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Handling nested xml

 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

What is the Best way to store complex(nested) xml elements in database ?

for Simple elements:

<Person>Lucky ali</Person>
am storing it in a table with columns ObjectId, Name, Value.

For Complex Element as follows, what should be the table structure ? Will a single Table suffice to store the Hierarchy ? What if the nested levels increase upto n...

First level of nesting:

<Name>
<FirstName>Lucky</FirstName>
<LastName>Ali</LastName>
</Name>

Second level of nesting:

<Address>
<line1> </line1>
<City> </City>
<Phone>
<OfficeNo></OfficeNo>
<ResNo></ResNo>
</Phone>
</Address>

thanks and regards,
Lucky
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic