Zoomed Image

AMSX Scripting Language - Command : SelectSingleNode

Summary

Select a single XML node by field name and read its value

Description

Searches the loaded XML document for a node matching the given field name (automatically tagged). Sets MSRESULT to the node's inner text, or blank if not found. Throws if the XML document has not been loaded.

Parameters

ParameterDescription
cmdnode/field name (will be auto-tagged using FieldTag)

Syntax


SelectSingleNode "node/field name (will be auto-tagged using FieldTag)"

Return to the AMSX Command Reference