Altova MobileTogether Designer

Delete Node(s)

Home Prev Top Next

The Delete Node(s) action deletes the node/s selected in the action's XPath expression.

MTDDeleteNode

The definition in the screenshot above is for an OnFinishedEditing event of a combo box that updates the $XML1Products/Selection element. The context node is Products. The action deletes the child Product element that has content, which when converted to lowercase matches the (lowercase) content of the Selection element. In the screenshot below, mobiletogether has been selected in the combo box and becomes the value of the Selection element. The Product element containing the text "MobileTogether" has been deleted.

MTDDeleteNode02

 

MobileTogether extension functions

MobileTogether provides a range of XPath extension functions that have been specifically created for use in MobileTogether designs. Some functions can be particularly useful with specific actions. For example, mt-available-languages() returns the languages in which the solution is available and could, for example, be used with the Message Box action. If a function is especially relevant to this action, it is listed below. For a full list of extension functions and their descriptions, see the topic MobileTogether Extension Functions.

 

© 2018-2024 Altova GmbH