Brian Dunning's FileMaker Custom Functions

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   Mark Geerdes - Show more from this author
Technology By Design

Share on Facebook Share on Twitter

  Sample input:
XMLElement("TagName" ; "Content" ; "NameSpace" ; "Attribute=Value" )
  Sample output:

  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" ;
$version ;
) & //End Type
XMLElement ( "Value" ;
$trackingNumber ;
$version ;
) //End Value
$version ;
) //End PackageIdentifier



Log in to post comments.


Note: these functions are not guaranteed or supported by Please contact the individual developer with any questions or problems.

Support this website.

This library has been a free commmunity resource for FileMaker users and developers for 20 years. It receives no funding and has no advertisements. If it has helped you out, I'd really appreciate it if you could contribute whatever you think it's worth: