Altova XMLSpy 2022 Enterprise Edition

Description and syntax

Renames an element, attribute, or processing instruction node.


rename node targetNode as name




The expression targetNode must point to a single target node, which can be an element, attribute, or processing instruction.

The expression name must evaluate to a QName or string.

If a QName is constructed, the mandatory namespace is declared locally.




rename node /book/title as 'header-1'


rename node /book/title as QName("""header-1")


© 2016-2022 Altova GmbH