Share on Google+Share on Google+

Overview of element types

Advertisement
Schema defines the building blocks of an xml document so is very important to identify the type of the element. The element can be of simple type or complex type.

Overview of element types

Schema defines the building blocks of an xml document so is very important to identify the type of the element. The element can be of simple type or complex type.

Simple type does not contain elements or attributes but text only. The text in simple elements can be of many types like built in types or any custom type and any restriction, limit or pattern can be added to a data type.

Complex type elements can contain elements and attributes.

Advertisements

Posted on: November 20, 2010 If you enjoyed this post then why not add us on Google+? Add us to your Circles

Share this Tutorial Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.