Skip to main content
lookupNamespaceURI method

Gets the Uniform Resource Identifier (URI) of the namespace associated with a namespace prefix, if any.

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

Syntax

object.lookupNamespaceURI(pvarPrefix, pvarNamespaceURI)

Parameters

pvarPrefix [in]

Type: Variant

The prefix.

Return value

Type: Variant

The URI of the namespace.

NULL

Default. Returned when no URI is found.

Standards information

See also

a
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
media
object
optGroup
option
select
source
span
table
textArea
TextNode
video
lookupPrefix