prefix property

This topic has not yet been rated - Rate this topic

Retrieves the local name of the fully qualified XML declaration for a node.

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

Syntax

JavaScript

p = object.prefix

Property values

Type: Variant

The prefix.

The prefix.

Standards information

Remarks

In XML documents, elements can be declared using qualified names, which consist of a prefix and a local name. This property returns the former value.

For more information, see W3C Namespaces in XML.

See also

a
attribute
audio
button
div
document
documentType
ProcessingInstruction
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
localName
namespaceURI

 

 

Build date: 11/28/2012

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