The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
isDefaultNamespace method
Indicates whether or not a namespace is the default namespace for a document.
![]() ![]() |
Syntax
object.isDefaultNamespace(pvarNamespace, pfDefaultNamespace)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: JavaScript Boolean. Returns one of the following values:
Return value
Type: Boolean
A pointer to a Boolean that receives one of the following values:Boolean. Returns one of the following values:trueThe namespace specified in the pfDefaultNamespace parameter is the default namespace for the document.
falseNamespace is not the default.
Standards information
See also
- a
- applet
- attribute
- audio
- button
- div
- document
- documentType
- frame
- iframe
- img
- input type=button
- input type=checkbox
- input type=email
- input type=file
- input type=hidden
- input type=image
- input type=number
- input type=password
- input type=radio
- input type=range
- input type=reset
- input type=search
- input type=submit
- input type=tel
- input type=text
- input type=url
- label
- legend
- marquee
- media
- object
- optGroup
- option
- select
- source
- span
- table
- textArea
- TextNode
- video
- Reference
- lookupNamespaceURI
- Other Resources
- XML Tutorial: Using Namespaces
Show:

