Namespace Qualification : elementFormDefault « XML Schema « XML Tutorial

Home
XML Tutorial
1.Introduction
2.Namespace
3.XML Schema
4.XPath
5.XSLT stylesheet
XML Tutorial » XML Schema » elementFormDefault 
3.90.1.Namespace Qualification
When working with namespaces, the schema author must decide whether the namespace of each element and attribute should be hidden or exposed in the document instance. 


elementFormDefault="qualified | unqualified"
attributeFormDefault="qualified | unqualified"

By setting the elementFormDefault attribute, you can require the document instance to expose or hide namespace qualifications.

If you use elementFormDefault="qualified", the namespace of each element would have to be exposed in document instances.
3.90.elementFormDefault
3.90.1.Namespace Qualification
3.90.2.Allowing Any Elements or Attributes from a Particular Namespace
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.