Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: [xml-dev] [A bit more] Re: [xml-dev] writing good xml

From: Norman Walsh <ndw@------.--->
To: Chiusano Joseph <chiusano_joseph@---.--->
Date: 2/24/2004 2:36:00 PM
/ "Chiusano Joseph" <chiusano_joseph@b...> was heard to say:
| I also meant to recommend an additional approach:
|
| You might want to consider using XML schema list types - for example:
|
| <xsd:simpleType name="listOfSetFlags">
|   <xsd:list itemType="xsd:integer"/>
| </xsd:simpleType>
|
| Where the list of flags that are set would be represented in an XML
| document as follows:
|
| <listOfSetFlags>1 4 8 12</listOfSetFlags>

Assuming that the bits mean things like "serif" and "smallcaps",
as the original example seemed to hint, I think I'd be inclined to
make it a list of keywords:

<listOfSetFlags>serif italic smallcaps</listOfSetFlags>

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@n...> | Nothing is worth more than this day.--
http://nwalsh.com/            | Goethe

PGP signature


transparent
Print
Mail
Digg
delicious
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent