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

RE: Schema constructs


imceanotes
Title: RE: Schema constructs

Henry,

Thank you for your suggestion. However, the http://www.w3.org/TR/2001/REC-xmlschema-0-20010502/ group element allows only one of its children to appear in an instance. I want the tag element to always be present and always followed by one or more of lowscale, hiscale, hialarm, etc. in any order. (Sorry, I'm not sufficiently familiar with the notation that you used to express it that way.) Since there are something like 50 parameters associated with a tag, I do not want the need to modify one or two parameters to require the inclusion of the complete set. The all group (All the elements in the group may appear once or not at all, and they may appear in any order.) appears to be just what I want but it seems that it cannot be nested within a sequence group. My test xml file contains:

  <modify>

    <tag>PT456</tag>

    <lowscale>10.0</lowscale>

  </modify>

  <modify>

    <tag>PT789</tag>

    <hiscale>100.0</hiscale>

    <lowscale>10.0</lowscale>

  </modify>

Regards,

David


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.