xmlspace property
Gets or sets a value that indicates whether white space is preserved in character data.
![]() ![]() |
Syntax
| JavaScript |
|---|
p = object.xmlspace |
Property values
Type: String
If white space is preserved in character data. This parameter can be default and preserve.
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:

