XMLTools
XMLAttribute
general XML attribute constructor
Calling Sequence
Parameters
Description
Examples
XMLAttribute(attrName, attrValue)
XMLAttribute(attrName = attrValue)
attrName
-
string; name of XML attribute to create
attrValue
string; value of XML attribute to create
The XMLAttribute(attrName, attrValue) command constructs XML attribute data structures, given the name and value of the attribute. Data structures returned by this procedure may be recognized by using the procedure IsAttribute.
with⁡XMLTools:
Print⁡XMLAttribute⁡foo,bar
foo = 'bar'
Print⁡XMLAttribute⁡foo=bar
See Also
XMLTools[IsAttribute]
Download Help Document