XMLElement ( TagName ; Content ; NameSpace ; AttributeValueList )
Formats a XML element with opening tags, namespace, attributes, and closing tags. Also handles empty tags. NameSpace and attributes can be empty.
Be the first to rate this function Log in to vote
Mark Geerdes - Show more from this author
Technology By Design https://www.tbdmn.com |
Function definition: (Copy & paste into FileMaker's Edit Custom Function window)
Correctly formats a XMLElement. Can use embedded commands in order to format your XML to look the way your system needs it. For embedded commands, the next XMLElement command would be placed in the Content parameter:
XMLElement ( "PackageIdentifier" ;
XMLElement ( "Type" ;
"TRACKING_NUMBER_OR_DOORTAG" ;
$version ;
""
) & //End Type
XMLElement ( "Value" ;
$trackingNumber ;
$version ;
""
) //End Value
;
$version ;
""
) //End PackageIdentifier
Comments
Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.