Newbie question

M

mrstephengross

Hi all... I'm getting started writing XSD's, and I'm a bit confused by
the paradigm. I've got a system of xml elements in mind, and most of
them are pretty simple: they allow / disallow certain child elements,
and allow / disallow certain attributes. I'm confused by the simpleType
and complexType distinction--can someone point me to a good tutorial?

Thanks,
--Steve ([email protected])
 
M

Martin Honnen

mrstephengross said:
Hi all... I'm getting started writing XSD's, and I'm a bit confused by
the paradigm. I've got a system of xml elements in mind, and most of
them are pretty simple: they allow / disallow certain child elements,
and allow / disallow certain attributes. I'm confused by the simpleType
and complexType distinction--can someone point me to a good tutorial?

Do you know the tutorial the W3C provides?
<http://www.w3.org/TR/xmlschema-0/>

As for simple and complex types, as long as you have an element with no
child elements and with no attributes it has a simple type but if you
need child elements or attributes it is a complex type.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
473,999
Messages
2,570,247
Members
46,844
Latest member
JudyGvh32

Latest Threads

Top