xmllang property
Gets or sets a value that specifies the language that is used in the contents and attribute values of an element.
![]() ![]() |
Syntax
| JavaScript |
|---|
p = object.xmllang |
Property values
Type: String
The standard XML attribute that is used to specify the language (for example, English).
Exceptions
| Exception | Condition |
|---|---|
|
An attempt is made to modify an object that cannot be changed. For versions earlier than Internet Explorer 10, NO_MODIFICATION_ALLOWED_ERR is returned. |
Standards information
- Scalable Vector Graphics: Basic Data Types and Interfaces, Section 4.5.26
See also
- SVGAElement
- SVGCircleElement
- SVGClipPathElement
- SVGDefsElement
- SVGDescElement
- SVGEllipseElement
- SVGFEImageElement
- SVGFilterElement
- SVGForeignObjectElement
- SVGGElement
- SVGImageElement
- SVGLineElement
- SVGMarkerElement
- SVGMaskElement
- SVGPathElement
- SVGPatternElement
- SVGPolygonElement
- SVGPolylineElement
- SVGRectElement
- SVGStyleElement
- SVGSVGElement
- SVGSwitchElement
- SVGSymbolElement
- SVGTextContentElement
- SVGTextElement
- SVGTextPathElement
- SVGTextPositioningElement
- SVGTitleElement
- SVGTSpanElement
- SVGUseElement
Show:

