attributes - simple xsd question

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

attributes - simple xsd question

bentzys
How is supposed to seems the xsd for this simple xml?
"Description" value is a string and there are two attributes (string and boolean)
Has "Description" to be a complex type?

<Description Version="1.0" bMetaDataSupported="0">This is the description</Description>

Thanks in advance

--bentzy
Reply | Threaded
Open this post in threaded view
|

Re: attributes - simple xsd question

Pete Cordell

Original Message From: "bentzys"
>
> How is supposed to seems the xsd for this simple xml?


This is really the wrong list for this sort of question.

Your best bet is to do some Googling to answer this sort of question.

I have a tutorial that answers this question at:
http://www.tech-know-ware.com/lmx/xsd-overview.html

The XSD primer will also help:
http://www.w3.org/TR/xmlschema-0/

After that, you may find it better to ask questions on the comp.text.xml
newsgroup.

HTH,

Pete.
--
=============================================
Pete Cordell
Tech-Know-Ware Ltd
for XML to C++ data binding visit
http://www.tech-know-ware.com/lmx
http://www.codalogic.com/lmx/
(or http://www.xml2cpp.com)
=============================================