Next in thread → Next in month →

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

From
Rudder, Doug <>
To
, xml-dev <>
Date
2006-05-16T19:40:13Z
ID
<>
Thread
RE: [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:] 
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>
Next in thread → Next in month →