XMLindent ( XML ; whiteSpace ; indentLevel )
Recursive function to add indents to XML or any text for readability
Be the first to rate this function Log in to vote
Mark Geerdes - Show more from this author
Technology By Design
Function definition: (Copy & paste into FileMaker's Edit Custom Function window)
This is a convenience function to add white space to the beginning of your XML. WhiteSpace is your padding, so insert the number of spaces, or tabs that you want to use. indentLevel is how many times to add your whiteSpace to the beginning of your XML. This is best used along with the XMLPrettyPrint custom function.
Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.