Can an element's QName value be without a prefix?
"Costello, Roger L." <[email protected]>
| Newsgroups | gmane.text.xml.schema.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Folks,
Suppose an element is declared to be of type QName:
<element name="example" type="QName" />
In an instance document, can the value of <example> be without a namespace prefix:
<example>Hello</example>
If yes, then what is the namespace URI for Hello?
Suppose I declare a default namespace:
<document xmlns="http://www.example.org">
<example>Hello</example>
</document>
Is Hello in the http://www.example.org namespace?
/Roger