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

RE: sgml dtd to w3 schema conversion

  • To: <scott.paulding@g...>,"xml-dev" <xml-dev@l...>
  • Subject: RE: sgml dtd to w3 schema conversion
  • From: "Rudder, Doug" <Doug.Rudder@w...>
  • Date: Tue, 16 May 2006 15:40:13 -0400
  • Disposition-notification-to: "Rudder, Doug" <Doug.Rudder@w...>
  • Thread-index: AcZ5HHvo4URaR0rbRfqCDxq9DfiN4gAA1NhQ
  • Thread-topic: sgml dtd to w3 schema conversion

xml sgml dtd conversion
Hi, Scott -

While you cannot specify an unbounded choice on the group itself, you
can specify the unbounded choice on the group reference in whatever
elements/types you reference the group from:

<xsd:group ref="scottsGroup" maxOccurs="unbounded"/>

Doug

-----Original Message-----
From: Scott Paulding [mailto:pldng@y...] 
Sent: Tuesday, May 16, 2006 2:09 PM
To: xml-dev
Subject:  sgml dtd to w3 schema conversion

hello,

i have a little bit of a problem. i'm trying to
convert a sgml dtd to a schema. here's the
declaration:

<!ENTITY  % group1    "(element1 | element2 | element3
| element4 | element5 | element6 | element7)+" >

i was hoping to make this into a group in the schema
because it it will be used in many place, but having
an unbounded choice in a group isn't allowed. 

any suggestions?

thanks,

-scott

"Do you realize...that happiness makes you cry?"
        -The Flaming Lips

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

-----------------------------------------------------------------
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>


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.