XML Script logo
Command _rename
Attribute

newname, a string

[required] the new name for the element or attribute.

Attribute

item, a pointer(s)

[required] the element or attribute to rename.

Description

This simply renames 'item' as 'newname'. Both elements and attributes can be renamed. Note that renaming an attribute will overwrite any existing attribute with the same name.

Examples of use

                                
                        

XML Script homepage | Documentation home | XML Script docs | Command list | Function list | X-Tract docs

X-Stream, X-Tract and XML Script are trade marks of DecisionSoft Limited
© Copyright 1998-2000 DecisionSoft Limited