GetListAsXML ( theList ; Element )
Easily convert a list to XML
Average rating: 4.5 (34 votes) Log in to vote
NRG Software, LLC.
Function definition: (Copy & paste into FileMaker's Edit Custom Function window)
Recursive function to convert a list of values (return delimited) to XML syntax
Aug 6, 2009
I'm not sure why this would be needed, but if so, it can be calculated directly without recursion:
Let ( [
openTag = "<" & elementName & ">" ;
closeTag = "<" & elementName & "/>"
openTag & Substitute ( listOfValues ; ¶ ; closeTag & ¶ & openTag ) & closeTag
Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.