Extracts attribute data from an XML file
Extractos atributo de datos desde un archivo XML.
This will extract the value of the attribute with attributeName specified in the first element matching the given elementName.
If no match is found, it will return an error NO_MATCH_ERROR
or "!NO MATCH!"
.
The default behaviour is to use the first element found that matches the given element name.
More specific elements can be specified using an xpath expression.
Special cases:
To test for the existence of an element, specify attributeName=""
. This will return the (qualified) name of the element if found, or NO_MATCH_ERROR
if not found.
Setting elementName="" will output the named attribute from the root element of the XML document.
Setting both elementName="" and attributeName="" will output the name of the root element itself.
Cmd : | ATTRIBUTE Command |
.NET : | Sat.GetXmlAttribute Method |
VBA/VB6 : | satGetXmlAttribute Function |
C (ANSI) : | SAT_GetXmlAttributeEx Function |
C++ (STL) : | firmasat::Sat::GetXmlAttribute |