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

Re: maxoccurs='unbounded' under xsd:all group.

  • To: xml-dev@l...
  • Subject: Re: maxoccurs='unbounded' under xsd:all group.
  • From: Roxette Lurge <roxenne_2001@y...>
  • Date: Tue, 17 Jan 2006 11:21:18 -0800 (PST)
  • Cc: David Carlisle <davidc@n...>
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=MwsOfQ4xELoP1dObmuiCsSiDcmitD5KW3MtgAzZOJtfr6KLqfPSxAz19stoKs+bq50ulFQMiplL1HBQCdDqqcr4+VZrB8sTWHqVBe3LNYh/mVUAA2YQojyZTPnOt5VzUyyphMsPfJMeMTneNZFYYBgyoUEjP9PyqEDUg4XQd9nE= ;
  • In-reply-to: <200601171705.RAA08038@p...>

maxoccurs unbounded xml
David,

I have another 20 elements under Customer and all of
them are optional (minoccurs='0') and 2 of them are
repeatable, which, I guess, would make the DTD a bit
complicated by taking care of all the combinations.
I don't see any other way other than to change xml
structure to get rid of this issue.

Baiju.

--- David Carlisle <davidc@n...> wrote:

> 
>   After all (with the limited knowledge of DTD I
> have)
>   this is possible in dtd.
> 
> with small examples like this you can write (in dtd
> syntax)
> 
> (ORDERNUMBERS*,
>  
>
((ACCOUNT_NUM,ORDERNUMBERS*,NAME)|(NAME,ORDERNUMBERS*,ACCOUNT_NUM)),
>   ORDERNUMBERS*)
>  
> which of course you could write in w3c schema syntax
> without using
> xsd:all. However this soon gets out of hand if the
> example is any
> bigger.
> 
> David
> 
>
________________________________________________________________________
> This e-mail has been scanned for all viruses by
> Star. The
> service is powered by MessageLabs. For more
> information on a proactive
> anti-virus service working around the clock, around
> the globe, visit:
> http://www.star.net.uk
>
________________________________________________________________________
> 
>
-----------------------------------------------------------------
> The xml-dev list is sponsored by XML.org
> <http://www.xml.org>, an
> initiative of OASIS <http://www.oasis-open.org>
> 
> The list archives are at
> http://lists.xml.org/archives/xml-dev/
> 
> To subscribe or unsubscribe from this list use the
> subscription
> manager:
> <http://www.oasis-open.org/mlmanage/index.php>
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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.