namespaceURI Property

Started by thiruvasagamani, Mar 04, 2009, 03:58 PM

Previous topic - Next topic

thiruvasagamani

namespaceURI Property
[This feature was first implemented for MSXML 4.0.]

Returns a string that contains the value of the namespace URI for the item being queried.

Example

The following is an example of the namespace URI for an element and an attribute, used in an XML schema.

<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
            xmlns:oth="http://www.example.microsoft.com/other-schema">
  <xsd:element name="bookcategory">
    <xsd:complexType>
      <xsd:attribute name="book"/>
    </xsd:complexType >
  </xsd:element>
</xsd:schema>
JScript Syntax


var strNamespaceURI = oISchemaItem.namespaceURI;

Parameters
None.

Return Values
strNamespaceURI
A string. The namespace URI of the schema item.

Source : MSDN
Thiruvasakamani Karnan