W3C home > Mailing lists > Public > xmlschema-dev@w3.org > August 2003

restriction of element with an attribute

From: <vikram.kekre1@kodak.com>
Date: Fri, 1 Aug 2003 14:47:31 -0400
To: xmlschema-dev@w3.org
Message-ID: <OF7503CAAD.05E4CBFB-ON85256D75.00668A7F@kodak.com>

Hi, I would like to
      1) create an element called value, which would have an attribute
called units. The units attribute would be defined using an enumerated
      2) restrict the value of the value element to be of type xs:string.
      3) restrict xs:string from 2) to allow only numbers and allow commas
and dots (ex. of a proper value 2.22 and 2,00).

How do I do this?


Received on Friday, 1 August 2003 14:49:22 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:56:03 UTC