SetXMLNodeName()

Syntax

SetXMLNodeName(Node, Name$)
Description
Changes the tagname of the given XML node. If the node is not of type #PB_XML_Normal or #PB_XML_Instruction, this function is ignored.

Parameters

Node The XML node to set the name.
Name$ The new tagname.

Return value

None.

Remarks

Reminder, according to the XML standard, the name of a node must follow these rules:
- Case sensitive
- Must start with a letter or an underscore '_'
- Do not start with "XML" (Xml, xml, etc.)
- Allowed are: letters, numbers, hyphen '-' or dot '.' but not () * + , / "# $ % & ! ' ; < = > @ [ \ ] ^ ` { | } ~' :
- Spaces are not allowed

See Also

GetXMLNodeName()

Supported OS

All

<- SetXMLEncoding() - XML Index - SetXMLNodeOffset() ->