Sign In/My Account | View Cart  
advertisement

Article:
 Storing XML in Relational Databases
Subject: XML document to be decomposed into a collection of xml subdocuments, using XSLT ?
Date: 2003-08-26 19:42:06
From: Igor Dayen
Response to: XML document to be decomposed into a collection of xml subdocuments, using XSLT ?

Thank you for feedback.
You may condider creating separate stylesheets
for Customer,InvoiceDetails, etc. to be applied
to the input document Invoice.xml. The useful reference which would be in line with the subject
of relational databases is "Building Oracle XML Applications" by Steve Muench from O'Reilly. Actually, chapter 7 on XSLT is available on web, see http://www.oreilly.com/catalog/orxmlapp/chapter/ch07.html#9820. I also would recommend "XSLT Quickly" by Bob DuCharme from Manning, see section 3.6 "Copying Elements to Result Tree". To extract Customer element from Invoice you may consider something like:
<xsl:template match="Customer">
<xsl:copy-of select=".">
</xsl:template>
Regards,
Igor Dayen

No Previous Message Previous Message Move up to Parent Message Up Next Message Next Message


Sponsored By: