EscapeXML ( Text )
Simple function to escape characters for XML
Average rating: 4.5 (33 votes) Log in to vote
|
Ibrahim Bittar Torres - Show more from this author
Eikonsys, S.A. de C.V. http://www.eikonsys.com |
Function definition: (Copy & paste into FileMaker's Edit Custom Function window)
This function helps to cleanup the XML text from illegal characters before sending it to any Webservice.
Comments
| Roger Biel, Casa Grande, AZ Aug 15, 2011 |
||
| Not sure what type of machine this works on but does nothing in Windows 7 | ||
| Ibrahim, Leon, Mexico Aug 15, 2011 |
||
| Hi Roger, When I posted the function it was: "Substitute ( Text ; [ "&" ; "&" ] ; [ "<" ; "<" ] ; [ ">" ; ">" ] ; [ "\"" ; """ ] )" However, it seems that the PHP program made the "translation" and placed again the original symbols. Please contact me offline if you still have problems with this. Regards Ibrahim |
||
Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.