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

XML data binding and schema styles

  • From: "Andrew Welch" <andrew.j.welch@g...>
  • To: xml-dev@l..., user@x...
  • Date: Tue, 9 Oct 2007 09:36:03 +0100

XML data binding and schema styles
I asked the questions below on the user@x... 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]


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.