Plugin recognizes the pre-defined "character entities", meaning special characters. Namely:
& & < < > > " " ' '
These are recognized when the XML document is read, and translated to there UTF-8 equivalents. For instance, text with the XML of:
Far & Away
will have the value of "Far & Away" when queried and will be written back to the XML file as an ampersand.
Additionally, any character can be specified by its Unicode code point: The syntax " " or " " are both to the non-breaking space characher.
<?xml version="1.0" encoding="utf-8" standalone="no"?> <!-- COMMENT1 --> <ELEMENT> <ELEMENT2>TEXT</ELEMENT2> <!-- COMMENT2 --> <empty_ELEMENT /> <empty_ELEMENT2 NAME="VALUE" NAME2="VALUE2" /> </ELEMENT>
|
Declaration:
Root: Node: Text: Comment: Attribute: Child: Parent: |
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<ELEMENT> it is ELEMENT, TEXT, COMMENT, DECLARATION TEXT COMMENT1 and COMMENT2 NAME="VALUE" and NAME2="VALUE2" <ELEMENT2> is child for <ELEMENT> <ELEMENT> is parent for <ELEMENT2> |
|
| "[1|0]" | "1" "0" |
-condense all white space into a single space (default) -don't condense all white space into a single space |
|
| "[encoding]" | "" "UTF8" "LEGACY" |
-auto detect encoding UTF-8 or ANSI (default) -force encoding as unicode UTF-8 -force encoding as ANSI |
|
| "[file]" | - Load this file |
| .r0 | $0="0" success $0="-1" error |
|
| "[file]" | - Save this file, if empty save current loaded file |
| .r0 | $0="0" success $0="-1" error |
|
| .r0 | $0=Version (e.g. "1.0") |
| .r1 | $1="0" success $1="-1" error |
|
| .r0 | $0=Encoding (e.g. "utf-8") |
| .r1 | $1="0" success $1="-1" error |
|
| .r0 | $0=Standalone (e.g. "yes") |
| .r1 | $1="0" success $1="-1" error |
|
| .r0 | $0=Element text |
| .r1 | $1="0" success $1="-1" error |
|
| "[0|1]" | "0" -turns off (default) "1" -turns on |
| .r0 | $0="0" success $0="-1" error |
|
| .r0 | $0="1" current node using CDATA $0="0" current node not using CDATA $0="-1" current node is not text |
|
| .r0 | $0=Node value |
|
| "[value]" | - Set this value |
|
| .r0 | $0=Root element name (the only top level element) |
| .r1 | $1="0" success $1="-1" error |
|
| "[name]" | - Find first child element specified by name, if empty returns first founded |
| .r0 | $0=name |
| .r1 | $1="0" success $1="-1" error |
|
| "[name]" | - Find first child node specified by name, if empty returns first founded |
| .r0 | $0=name |
| .r1 | $1="0" success $1="-1" error |
|
| "[name]" | - Find last child node specified by name, if empty returns first founded |
| .r0 | $0=name |
| .r1 | $1="0" success $1="-1" error |
|
| .r0 | $0=name |
| .r1 | $1="0" success $1="-1" error |
|
| .r0 | $0="1" current node has no children $0="0" current node has children |
|
| "[name]" | - Find next sibling element specified by name, if empty returns first founded |
| .r0 | $0=name |
| .r1 | $1="0" success $1="-1" error |
|
| "[name]" | - Find next sibling node specified by name, if empty returns first founded |
| .r0 | $0=name |
| .r1 | $1="0" success $1="-1" error |
|
| "[name]" | - Find previous sibling node specified by name, if empty returns first founded |
| .r0 | $0=name |
| .r1 | $1="0" success $1="-1" error |
|
| "[handle]" | - Insert this node (handle returned by xml::NodeHandle, xml::CreateText, xml::CreateNode, xml::CloneNode) |
| .r0 | $0="0" success $0="-1" error |
|
| "[handle]" | - Insert this node (handle returned by xml::NodeHandle, xml::CreateText, xml::CreateNode, xml::CloneNode) |
| .r0 | $0="0" success $0="-1" error |
|
| "[handle]" | - Insert this node (handle returned by xml::NodeHandle, xml::CreateText, xml::CreateNode, xml::CloneNode) |
| .r0 | $0="0" success $0="-1" error |
|
| "[handle]" | - Replace with this node (handle returned by xml::NodeHandle, xml::CreateText, xml::CreateNode, xml::CloneNode) |
| .r0 | $0="0" success $0="-1" error |
|
|
|
| "[text]" | - Create this text in memory |
| .r0 | $0=handle to text node $0="0" error |
|
| "<a>text</a>" | - Create this node in memory |
| .r0 | $0=handle to node $0="0" error |
|
| .r0 | $0=handle to node $0="0" error |
|
| "[handle]" | - Free this node (handle returned by xml::CreateText, xml::CreateNode, xml::CloneNode) |
| .r0 | $0="0" success $0="-1" error |
|
| .r0 | $0=current node handle $0="0" error |
|
| "[handle]" | - Goto this node (handle returned by xml::NodeHandle) |
| .r0 | $0="0" success $0="-1" error |
|
| .r0 | $0="ELEMENT" $0="COMMENT" $0="DOCUMENT" $0="TEXT" $0="DECLARATION" $0="UNKNOWN" |
|
| .r0 | $0=Row |
| .r1 | $1=Column |
| .r2 | $2="0" success $2="-1" error |
|
| "[name]" | - Find attribute specified by name |
| .r0 | $0=attribute value |
| .r1 | $1="0" success $1="-1" error |
|
| "[name]" | - Attribute name |
| "[value]" | - Attribute value |
| .r0 | $0="0" success $0="-1" error |
|
| "[name]" | - Attribute name |
| .r0 | $0="0" success $0="-1" error |
|
| .r0 | $0=attribute name |
| .r1 | $1=attribute value |
| .r2 | $2="0" success $2="-1" error |
|
| .r0 | $0=attribute name |
| .r1 | $1=attribute value |
| .r2 | $2="0" success $2="-1" error |
|
| .r0 | $0=attribute name |
| .r1 | $1=attribute value |
| .r2 | $2="0" success $2="-1" error |
|
| .r0 | $0=attribute name |
| .r1 | $1=attribute value |
| .r2 | $2="0" success $2="-1" error |
|
| "[name]" | - Attribute name |
|
| "[value]" | - Attribute value |