• 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

Relation of XML with Object-relational form

Ranch Hand
Posts: 527
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How XML is related with Object-relational form.how can you define object views corresponding to the various XML document structure and define instead-of triggers to perform the appropriate transformation and update the base data and store it in a database.

Posts: 5782
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
XML by itself has no in-built features to support object relations. XML simply allows you to effectively represent a hierarchical data format. Since the rules are flexible, it is not difficult to comeup with a format that can be used to represent object relations too.
For example, you could represent relationships in terms of ID attributes. ie., the ID value for one entire nodeset can be used as a foreign key in another nodeset of a different XML document thereby tying together two( or more ) entities.


You can then write code to form a "complete 4GL object" by dereferencing the ids and doing a cross-XML lookup.
Several relational and object relational database vendors are gradually moving towards XML support. Since XML is very new, you will have to wait for some more time to really see mature XML integration paths. Oracle 8i now has the 'best' XML support that
is available out there. You can manipulate a result-set in the XML form, which means you can select,update or create table rows using an XML query.
Hope that helps,

Ajith Kallambella M.
Sun Certified Programmer for the Java2 Platform.
[This message has been edited by Ajith Kallambella (edited January 23, 2001).]
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!