W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > October to December 2002

xsd:list should allow a 'delimiter' attribute

From: Don Smith <Don_Smith@haley.com>
Date: Wed, 02 Oct 2002 13:08:59 -0600
Message-Id: <5.1.0.14.1.20021002130854.025732d0@localhost>
To: W3C XML Schema Comments list <www-xml-schema-comments@w3.org>




Wouldn't it be useful if xsd:list allowed an attribute called "delimiter"?

<xsd:simpleType name="listOfString">
   <xsd:list itemType="xsd:string" delimiter="%"/>
</xsd:simpleType>

<xsd:element name="listOfString" type="listOfString">

Then one could write

<listOfString>John Jones, Jr.%Martin Marly%Francis F. Farley</listOfString>



Donald A. Smith, PhD
dsmith@haley.com, (412) 741-6420
<http://www.haley.com>
The Haley Enterprise, Inc.
solutions that do what they're told
Received on Wednesday, 2 October 2002 15:14:12 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 6 December 2009 18:13:01 GMT