NamespaceURI (NotesDOMNode - LotusScript®)
Read-only. The namespace URI of this node when it was created.
Defined in
Data type
String
Syntax
To get: nameSpaceURI$ = notesDOMNode .NamespaceURI
Usage
Where namespaces are used in XML, qualified names take the form:
prefix:localName
The prefix is associated with a namespace.
Namespaces affect the following NotesDOMNode properties:
- LocalName contains the local part of the qualified name (the part following the colon).
- NamespaceURI is the namespace associated with the prefix.
- NodeName is the full qualified name (prefix, colon, local part).
- Prefix contains the prefix of the qualified name (the part preceding the colon). This property is read-write; the others are read-only.
For example, if the XML is as follows:
<?xml version="1.0" encoding="UTF-8"?>
...
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
...
<wsdl:message name="method1Response">
<wsdl:part name="method1Return" type="soapenc:string"/>
</wsdl:message>
<wsdl:message name="method1Request">
<wsdl:part name="value1" type="soapenc:string"/>
</wsdl:message>
...
The property values for the first "message" node are as follows:
- LocalName = "message"
- NamespaceURI = "http://schemas:xmlsoap.org/wsdl/"
- NodeName = "wsdl:message"
- Prefix = "wsdl"
Consistency is automatic where the property values are the result of parsing XML through NotesDOMParser. If you use namespace-oriented methods such as CreateAttributeNodeNS and CreateElementNodeNS in NotesDOMDocumentNode, you are responsible for keeping the properties consistent. The namespaceURI parameter must be the correct namespace for the prefix in the qualifiedName parameter. If you specify qualifiedName without the prefix and colon (local part only), you must set the Prefix property. You can also add node attributes that associate a namespace with a prefix.
You must set the NotesDOMParser DoNamespaces property to read this value.
Returns null if unspecified.
Refer to http://www.w3.org/TR/1999/REC-xml-names-19990114/#ns-qualnames for the W3C specification on qualified names. Refer to http://www.w3.org/TR/2001/WD-DOM-Level-3-Core-20010605/glossary.html#dt-qualifiedname for a definition.