XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
XML data binding and schema styles

I asked the questions below on the user@xmlbeans.apache.org mailing
list but haven't had a reply yet - a more general question for this
list is: do schema styles make a siginificant difference when it comes
to data-binding?  As in, "if you are using binding tool x, you should
use style y"?  Or is there a style that suits all data binding, and a
style that definitely doesn't?

The XMLBeans specific question was:

==

I'm using XMLBeans for data binding (for the first time) which is
generating classes for all top-level elements with the name
nnnnDocument, such as priceDocument for the global element price,
dateDocument for date etc

The schema style I've used is the salami slice style, where each
element is known globally.  This means the schema can potentially be
used for schema aware XSLT / XQuery (which require that the elements
are known globally).

Is there any way to supply XMLBeans with the element to use as the
root element, such that only the generated class for that element ends
with "Document", and not the others ?

Does XMLBeans and the salami slice style of schema not go well together ?

==

thanks

-- 
Andrew Welch
http://andrewjwelch.com
Kernow: http://kernowforsaxon.sf.net/


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS