Altova XMLSpy 2023 Enterprise Edition

Description and syntax

Deletes one or more nodes.


delete node nodeSequence

delete nodes nodeSequence




The expression nodeSequence returns a sequence of the node/s to delete. All selected nodes will be marked for deletion.

It does not matter whether the singular node or plural nodes is used. No correspondence is needed with the number of items in nodeSequence.




for \$i in /book/section return

delete nodes \$i/@id


© 2017-2023 Altova GmbH