isDefaultNamespace method

This topic has not yet been rated - Rate this topic

Indicates whether or not a namespace is the default namespace for a document.

Document Object Model (DOM) Level 3 Core Specification, Section 1.2

Syntax

object.isDefaultNamespace(pvarNamespace, pfDefaultNamespace)

Parameters

pvarNamespace [in]

Type: Variant

The namespace to be compared to the default namespace.

Return value

Type: Boolean

Boolean. Returns one of the following values:true

The namespace specified in the pfDefaultNamespace parameter is the default namespace for the document.

false

Namespace is not the default.

Standards information

See also

a
attribute
audio
button
div
document
documentType
iframe
img
input type=button
input type=checkbox
input type=file
input type=hidden
input type=image
input type=password
input type=radio
input type=reset
input type=submit
input type=text
label
legend
media
object
optGroup
option
select
source
span
table
textArea
TextNode
video
Reference
lookupNamespaceURI
Other Resources
XML Tutorial: Using Namespaces

 

 

Build date: 11/28/2012

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.