xml select text <key> <xPath>
Description
To select a text from an xlm document
Parameters
key: The key - string - required
xPath: The xPath string - string - required
admin
xml select text "keyId" "/data/item[1]"
mentdb
A
xml select attribute <key> <xPath>
Description
To select an attribute from an xlm document
Parameters
key: The key - string - required
xPath: The xPath string - string - required
admin
xml select attribute "keyId" "/data/@id"
mentdb
25
xml itext <key> <xPath> <nodeName> <text>
Description
To insert a new text node
Parameters
key: The key - string - required
xPath: The xPath string - string - required
nodeName: The node name - string - required
text: The text - string - required
admin
xml itext "keyId" "/data" "number" "456";
mentdb
1
xml inode <key> <xPath> <node>
Description
To insert node into a xml document
Parameters
key: The key - string - required
xPath: The xPath string - string - required
node: The node - string - required
admin
xml inode "keyId" "/data" "<a><a1></a1><a2></a2></a>";
mentdb
1
xml utext <key> <xPath> <text>
Description
To update a text into a xml document
Parameters
key: The key - string - required
xPath: The xPath string - string - required
text: The text - string - required
admin
xml utext "keyId" "/data/item[2]" "Z";
mentdb
1
xml iattribute <key> <xPath> <attributeName> <text>
Description
To insert a new attribute to a node
Parameters
key: The key - string - required
xPath: The xPath string - string - required
attributeName: The attribute name - string - required
text: The text - string - required
admin
xml iattribute "keyId" "/data" "id" "987";
mentdb
1
xml dattribute <key> <xPath> <attributeName>
Description
To delete an attribute to a node
Parameters
key: The key - string - required
xPath: The xPath string - string - required
attributeName: The attribute name - string - required
admin
xml dattribute "keyId" "/data" "id";
mentdb
1