Simple example without schema involvement
FILL IN
XML Schema:
targetNamespace
"
targetNamespace
is used in a schema to specify the namespace that the schema is intended to define" -David Peterson, at JavaRanch"Each schema document has exactly one target namespace." -XML in a Nutshell
default namespace
noNamespaceSchemaLocation
noNamespaceSchemaLocation: schema to reference for elements that have no namespace prefix?
"The noNamespaceSchemaLocation attribute references an XML Schema document that does not have a target namespace. "
schemaLocation
Interface between XML document and its schema:
FILL IN
Note from w3schools:
The namespace URI is not used by the parser to look up information.
The purpose is to give the namespace a unique name. However, often companies use the namespace as a pointer to a web page containing namespace information.
No comments:
Post a Comment