Components Crossplatform Mac & Win Server Client Old Deprecated Guides Examples Videos
New in version: 10.1 10.2 10.3 10.4 10.5 11.0 11.1 11.2 11.3 11.4 Statistic FMM Blog
Sets path value with CData.
|XML||11.1||✅ Yes||✅ Yes||✅ Yes||✅ Yes||✅ Yes|
|XML||The XML to process.
Can be XML as text or the reference returned by XML.Parse function, so you can make several times changes to the XML without parsing it each time.
|Path||The path to the node or attribute to query.||"name"|
Add 1 to ignore errors in xml and continue parsing. This may lead to not everything in the xml being read.
Add 4 to format returned XML.
Add 32 to return result as XML.
|CData||The new content of CData.||"<b>Hello</b>"|
Returns XML, OK or error.
DescriptionSets path value with CData.
If needed, new nodes / attributes are added.
This function uses a path notation like the JSON functions in FileMaker to describe paths. Please point with path to new node.
You can use name of a node followed by optional index in square brackets. On the end you can use # followed by a name of an attribute to select only the attribute. Empty brackets or too big index allow you to append new node.
Delimiter between items can be dot like FileMaker or newline.
If you pass in a XML reference number and you do not pass Flag value 32 for returning as XML, we just modify the XML reference in memory. This avoids performance hit for outputting and parsing xml for each change.
Adds a html encoded name:
- Version 11.1
- Added XML.SetPathCData function.
Created 26th February 2021, last changed 26th February 2021
Feedback: Report problem or ask question.
MBS FileMaker tutorial videos