|
YOUR FEEDBACK
Did you read today's front page stories & breaking news?
SYS-CON.TV |
TODAY'S TOP SOA & WEBSERVICES LINKS Feature David & Goliath: A Comparison Of XML-Enabled And Native XML Data Management Techniques
A comparison of XML-enabled and native XML data management techniques
Jun. 28, 2005 11:00 AM
Query with XPath:
Query with several tables:
Eliminate: The XMLType also allows structured data to be stored as objects. This is similar to XSU object stores, and for this reason we do not consider it further here.
XSU Sometimes however, it is not so easy to build an RDBMS structure that matches an XML document. This is because XML documents are hierarchical and may have a dynamic structure that can change easily. In this case, we would need to rebuild the XML document with its structure each time we query the database. Two storage and retrieval methods are possible for XSU: object-relational table storage (information stored in defined types), and relational table storage (data is stored in a relational table). We implement both solutions to investigate their implications in code development, and the differences between structure creation and response times. XSU does not support attribute nodes and element nodes with more than one occurrence in the same level. In the first case we should have to transform attributes in element nodes, for example <client id="001001"> would be <client> <id>001001</id>. In the second case, we would need to fragment the document, thus inserting the part into various tables. There would be an XSU instance to insert each document into its corresponding table. We use XSLT stylesheets to transform each document into the appropriate format before writing it to the database. With XSU object-relational table storage, information is stored in defined types according to the structure shown in Figure 2.
We can only represent one nesting level. Response time is elevated more than with the previous case. In the selected approach we have to rebuild the XML document's initial hierarchical structure, thereby creating the objects dynamically with data from the table. If we have the structure stored in objects it is easier to retrieve XML documents in their initial hierarchy format. XSU (XML-SQL Utility) give us the following functionalities.
OracleXMLQuery qry = new OracleXMLQuery(conn, "select * from cliente"); YOUR FEEDBACK
XML JOURNAL LATEST STORIES . . .
SUBSCRIBE TO THE WORLD'S MOST POWERFUL NEWSLETTERS SUBSCRIBE TO OUR RSS FEEDS & GET YOUR SYS-CON NEWS LIVE!
|
SYS-CON FEATURED WHITEPAPERS MOST READ THIS WEEK BREAKING XML NEWS |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||