[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: XML Schema: Getting lookup tables from DB


oracle lookup table
| Can I query the tables to create a xml file and store it as a datagram to be
| used by my schema?  In other words, can my schema reference a xml file (that
| will contain lookup table information)? That way if/when the table changes
| all one would have to do is create an updated xml file.

You could definitely use our SQLX operator support in Oracle9i Release 2
(perhaps in combination with our XSLT 1.0 support in SQL) to
transform the result of your lookup table into an XML document,
or as Rick suggested, as a programmatically produced Schema Fragment,
but if you are imagining a case larger than the 50 states in
the United States then the technique might not scale.

Imagine Amazon.com wanting to make sure that a submitted ISBN number
in little "order submission XML" is a valid ISBN that they carry
in their *huge* inventory, then the database lookup as I illustrated
it is probably best.

__________________________________________________________________
Steve Muench - Developer, Product Mgr, Java/XML Evangelist, Author
Simplify J2EE and EJB Development with BC4J
http://otn.oracle.com/products/jdev/htdocs/j2ee_bc4j.html
Building Oracle XML Apps, www.oreilly.com/catalog/orxmlapp


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.