OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: [xml-dev] sgml dtd to w3 schema conversion

[ Lists Home | Date Index | Thread Index ]
  • To: <scott.paulding@gmail.com>,"xml-dev" <xml-dev@lists.xml.org>
  • Subject: RE: [xml-dev] sgml dtd to w3 schema conversion
  • From: "Rudder, Doug" <Doug.Rudder@wolterskluwer.com>
  • Date: Tue, 16 May 2006 15:40:13 -0400
  • Disposition-notification-to: "Rudder, Doug" <Doug.Rudder@wolterskluwer.com>
  • Thread-index: AcZ5HHvo4URaR0rbRfqCDxq9DfiN4gAA1NhQ
  • Thread-topic: [xml-dev] sgml dtd to w3 schema 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@yahoo.com] 
Sent: Tuesday, May 16, 2006 2:09 PM
To: xml-dev
Subject: [xml-dev] 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>





 

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

Copyright 2001 XML.org. This site is hosted by OASIS