|
[XMLSCHEMA-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] How to define list of types in xsd
From: Meir Yanovich <meiry@fts-soft.com>
Date: Tue, 4 Apr 2006 14:16:14 +0200 Message-ID: <7FF923B77C9A3D46BD808F3BD91473AC016E909C@ftsmail.fts-soft.com> To: <xmlschema-dev@w3.org> How to define list of types in xsd Hello I have problem to define list of types defined in xml and translate it to xsd Example I have : <book> <attribute name="ID1" type="l">444555666</attribute> <attribute name=" ID2" type="d">99999</attribute> <attribute name=" ID3" type="X">blah</attribute> >/book< >notebook< <attribute name="cat1" type="l">444555666</attribute> <attribute name=" cat2" type="d">99999</attribute> <attribute name=" cat3" type="X">blah</attribute> </notebook> now as you see all elements are using types that are have to be represents in the xsd , the types are pre defined and many element are using it ( in this example the book and notebook attribute) what is the right way to represent it in xsd? Thanks allotReceived on Tuesday, 4 April 2006 12:38:12 GMT |
Subscribe in XML format
|






