Alibabacloud.com offers a wide variety of articles about elementformdefault qualified, easily find your elementformdefault qualified information here online.
Elementformdefault = "? "This attribute is used to indicate the namespace in which the XML schema handler places the elements or types defined in the XML schema.
The elements or types declared in a schema can only belong to one of the two namespaces.
The following is a brief introduction to the elementFormDefault attribute in XMLSchema. I think this is quite good. now I will share it with you and give you a reference. Let's take a look at the following small series to bring you an article on the
The following small series for everyone to bring a brief talk about the elementFormDefault attribute in XML Schema. Small series feel very good, now share to everyone, also for everyone to make a reference. Let's see it together. The
I believe that friends who have used this attribute may be confused by this attribute. during use, it is often confusing to check and report errors. I think there is nothing wrong with this attribute, if you can write or set it again, but you cannot
Ben
ArticleThe series will work with examples to describe XML schema, which is an entry-level overview of the currently international standard XML modeling tool, we hope that you can learn how to use XML schema and the specific semantics of XML
DTDs are equivalent to data, and schemas are equivalent to collections.
XML Schemas are created by a set of pre-defined XML elements and attributes.
DTD does not follow XML syntax, DTD data type is limited, DTD is not extensible, DTD does not
How to write a schema document
①russian Doll (Russian set of dolls)
②salami Slice (sausage slices)
③venetian Blind (blinds) RecommendedSecond, Russian doll Russia set Eva
As the name suggests, the way to write is a layer, only a root element,
Document directory
Compile the services. xml file used to deploy a single service
Service name
Service Description
Service-level Parameters
Service
Service-level Message Receiver
Modules
Service session Scope
Service target namespace
SimpleType detailed
The simpletype element function is to define a simple type that determines the constraints and related information of an element's attribute value.Restriction define a constraint conditionTest5.xsdelementFormDefault = "qualified"
To constrain an XML file with a schema:Take the Computer.xml file as an example.1. Create a computer.xml file.Xmlns:xsi= "Http://www.w3.org/2001/XMLSchema-instance"Xmlns= "Http://www.example.org/computer"xsi:schemalocation=
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.