Altova XMLSpy 2024 Professional Edition

Description and syntax

Replaces the value of a node with the string value of a sequence of items.


replace value of node targetNode with items




The expression targetNode must point to a single target node.

The expression items must return a sequence of items.

The contents of the target node are replaced by the string value of the sequence returned by the items expression. This means that the target node will contain one text node only.




for \$i in //title return

replace value of node \$i with ('Draft Title')


© 2017-2023 Altova GmbH