Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 10.5   11.0   11.1   11.2   11.3   11.4   11.5   12.0   12.1   12.2    Statistic    FMM    Blog  

Component: XML

Functions for working on XML text.

With XPath queries you can query values or lists from XML.

Version macOS Windows Linux Server iOS SDK License
3.0 / 11.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes Paid

Item Details
Dictionary.ToXML
Returns XML representation of dictionary for data exchange.
All
6.1
XML.ApplyStylesheet
Apply the stylesheet to the document (XSLT transform).
All
8.4
XML.ApplyStylesheet2
Apply the stylesheet to the document (XSLT transform).
All
11.5
XML.Canonical
Creates canonical xml.
All
6.2
XML.ClearVariables
Clears the variables.
All
7.0
XML.Colorize
Formats a XML string with color.
All
8.2
XML.Compact
Compacts XML document.
All
10.2
XML.DeletePath
Delete a xml node.
All
7.4
XML.ExtractText
Extracts the text from the XML tree.
All
7.0
XML.Format
Formats XML document.
All
6.2
XML.GetAttribute
Queries text of an attribute.
All
7.0
XML.GetPathValue
Queries value in XML.
All
7.4
XML.HasAttribute
Queries whether an attribute exists.
All
7.0
XML.Import
Imports XML and creates tables, fields and records.
All
5.3
XML.Import.Cancel
Cancels current import.
All
5.3
XML.Import.ErrorCount
Queries error counter.
All
9.3
XML.Import.Errors
Queries list of error messages.
All
9.3
XML.Import.SetBaseFields
Sets the names of the base fields per record.
All
7.1
XML.Import.SetExtraField
Sets the extra field to add to all tables.
All
7.1
XML.Import.Status
Queries status of xml import.
All
5.3
XML.Import.Todo
Queries how many items are to be done for XML import.
All
5.3
XML.Import.Total
Queries total items to be imported.
All
5.3
XML.Import.Work
Performs import.
All
5.4
XML.ItemRefs
Queries entries from XML nodes.
All
11.5
XML.ListAttributes
Lists attribute names.
All
7.0
XML.NodeCount
Counts nodes with given name.
All
7.0
XML.NodeNames
Queries list of node names in an XML.
All
7.0
XML.Parse
Parses a XML document.
All
7.3
XML.Query
Performs an XPath query.
All
3.0
XML.ReadContainer
Reads container content as XML.
All
7.4
XML.ReadFile
Reads a file as XML.
All
7.4
XML.Release
Releases an XML object.
All
7.3
XML.ReleaseAll
Releases all XML objects.
All
7.3
XML.SetPathCData
Sets path value with CData.
All
11.1
XML.SetPathValue
Sets a xml node.
All
7.4
XML.SetPathXML
Sets path value with XML sub tree.
All
8.1
XML.SetVariables
Creates local variables in script for XML nodes.
All
7.0
XML.SubTree
Extracts a given subtree.
All
7.0
XML.ToJSON
Converts XML to JSON.
All
8.2
XML.Validate
Validates XML against schema.
All
8.1
XML.ValidateFile
Validates XML against schema.
All
8.2

41 functions shown.

Release notes

  • Version 12.2
  • Version 12.1
  • Version 12.0
    • Changed XML.Query to remove surrounding quotes for namespaces.
  • Version 11.5
  • Version 11.4
    • Added possibility to use backslash in XML.GetPathValue to mask dots in xml node names.
    • Changed XML.SetVariables to assign XML block if item is a xml tree and not recursive.
    • Fixed an issue with XML.Import not parsing huge XML files with big text nodes correctly.
  • Version 11.3
    • Added flag 16 for XML.Query to only return first item of result.
    • Added flag 32 for XML.Query to return multiple XML nodes as a list with each as XML.
    • Changed JSON.Import and XML.Import to be per thread, so they work better on server with multiple parallel scripts.
  • Version 11.2
    • Added new flags for XML.ToJSON to detect numbers and booleans better.
    • Fixed problem with XML.ExtractText and XML.GetPathValue not seeing all text if there are XML nodes within a text block.
    • Improved XML functions (on Windows) to better handle unknown encodings.
  • Version 11.1
  • Version 10.5
    • Changed XML.ToJSON and added option for compacter attributes processing.

Blog Entries

FileMaker Magazin

Example Databases

Videos

Feedback: Report problem or ask question.


Start Chat