Re: Data Dictionary for XML Schema?
A follow up to my initial April 3 2008 question: 'Is there a standards compliant way of 'wrapping' a W3C XML Schema with a Data Dictionary type view (perhaps using XSLT or XQuery) so that it can be queried using simpler XPath expressions?' I've subsequently found this question closely followed the publication of a new W3C Working Draft dated 28 March 2008: Basic XML Schema Patterns for Databinding Version 1.0 at http://www.w3.org/TR/2008/WD-xmlschema-patterns-20080328/ The approach here is to use a number of XPath 2.0 expressions that define patterns (each identified by a URI) to be used in conforming XML Schema 1.0 Documents. The main purpose of this is to assist in the development of XML data binding tools, such as those used for WSDL. This would allow such tools to work more effectively with XML Schema 1.0 documents conforming to these patterns. I've only had a quick look at the documentation, so please correct me if my interpretation is out. Thanks Phil Fearon http://www.sketchpath.com On Thu, Apr 3, 2008 at 2:37 PM, Jeff Greif <jeff.greif@g...> wrote: > There's also the XML Schema API, which was submitted to the W3 for > standardization but does not seem to have progressed: > > http://www.w3.org/Submission/2004/SUBM-xmlschema-api-20040122/ > > I have been using it successfully since before this, when it was just a part > of Xerces J. > > There is a path-based notation for components of XML Schema in XML Schema: > Component Designators, apparently also stalled in the standardization > process: > > http://www.w3.org/TR/xmlschema-ref/ > > > Jeff > > Michael Kay wrote: > > > > > > > > > > > Is there a standards compliant way of 'wrapping' a W3C XML Schema with a > Data Dictionary type view (perhaps using XSLT or XQuery) so that it can be > queried using simpler XPath expressions? > > > > > > > > > > There's no standard way. Saxon has a mechanism to export a schema (that > is, > > a compiled set of schema components) as an XML representation which very > > closely resembles the schema component model. This is much easier to query > > than the raw XML schema documents. But it's not a standard. > > > > Michael Kay > > http://www.saxonica.com/ > > > > > > _______________________________________________________________________ > > > > XML-DEV is a publicly archived, unmoderated list hosted by OASIS > > to support XML implementation and development. To minimize > > spam in the archives, you must subscribe before posting. > > > > [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/ > > Or unsubscribe: xml-dev-unsubscribe@l... > > subscribe: xml-dev-subscribe@l... > > List archive: http://lists.xml.org/archives/xml-dev/ > > List Guidelines: http://www.oasis-open.org/maillists/guidelines.php > > > > > > > > > > > >
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format