W3C home > Mailing lists > Public > xmlschema-dev@w3.org > February 2005

Is it possible (simpleType or complexType)?

From: <prze_moc@poczta.onet.pl>
Date: Mon, 21 Feb 2005 12:32:40 +0100
To: xmlschema-dev@w3.org
Message-Id: <20050221113241Z4869832-5195+181@kps5.test.onet.pl>

Is it possible to define a schema for this?

I have element <arg>. I want that <arg> has simpletype (xs:integer) or only one child <var> and any other elements or text.
I don't want to create a new element e.g <number> for simpletype

<arg>
12345
</arg>

or

<arg>
    <var/>
</arg/>

please, help mi
Received on Monday, 21 February 2005 12:19:16 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:49 GMT