Utility function to create a date from a DOM node's text content.
Parameter | Type | Description |
---|---|---|
node | DOMNode | The DOM node to inspect. |
Date object from a DOM Node containing a ISO-8610 string.
Utility function to escape XML special characters in an HTML string.
Parameter | Type | Description |
---|---|---|
str | String | The string to escape |
HTML String with special characters (<,>,&, ", etc,) escaped.
Utility function to get a node name and deal with IE's bad handling of namespaces on tag names.
Parameter | Type | Description |
---|---|---|
node | DOMNode | The DOM node whose name to retrieve. |
The name without namespace prefixes.
Utility function to un-escape XML special characters in an HTML string.
Parameter | Type | Description |
---|---|---|
str | String | The string to un-escape. |
HTML String converted back to the normal text (unescaped) characters (<,>,&, ", etc,).