This topic has not yet been rated - Rate this topic

isDefaultNamespace method

[This documentation is preliminary and is subject to change.]

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

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

Syntax

object.isDefaultNamespace(pvarNamespace, )

Standards information

Parameters

pvarNamespace [in]

Type: VARIANT

The namespace to be compared to the default namespace.

pfDefaultNamespace [out, retval]
C++A pointer to a Boolean that receives one of the following values:
JavaScriptBoolean. Returns one of the following values:

VARIANT_TRUE (true)

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

VARIANT_FALSE (false)

Namespace is not the default.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Type: BooleanA pointer to a Boolean that receives one of the following values:Boolean. Returns one of the following values:VARIANT_TRUEtrue

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

VARIANT_FALSEfalse

Namespace is not the default.

See also

a
applet
attribute
audio
button
div
document
documentType
frame
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
marquee
media
object
optGroup
option
select
source
span
table
textArea
TextNode
video
Reference
lookupNamespaceURI
Other Resources
XML Tutorial: Using Namespaces

 

 

Build date: 2/14/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ