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:
11.5
12.0
12.1
12.2
12.3
12.4
12.5
13.0
13.1
13.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 |
3.0 / 12.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
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.GetSaveNoEmptyTags Queries whether to include close tags for empty nodes. | All 12.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.List Lists all IDs of current XML objects. | All 12.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.SetSaveNoEmptyTags Sets whether to include close tags for empty nodes. | All 12.4 |
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 |
44 functions shown.
These functions require a paid license (64%).
Release notes
- Version 13.2
- Added flag 32 to XML.ToJSON function to keep empty nodes as text nodes instead of empty objects.
- Fixed a problem with empty attributes causing an error in JSON for XML.ToJSON function.
- Version 13.0
- Added new option to XML.Compact and XML.Format to skip the ?xml line with version details.
- Version 12.5
- Added FM.SQL.List, JSON.List, Matrix.List, MongoDB.List and XML.List functions.
- Changed XML.ToJSON to better convert single values, which are boolean or number and not just text.
- Fixed a problem in XML.SetVariables and long variable names.
- Version 12.4
- Added flags for JSON.Import and XML.Import functions to skip table and field creation.
- Added XML.GetSaveNoEmptyTags and XML.SetSaveNoEmptyTags functions.
- Changed JSON.ToXML to unpack the text nodes made by XML.ToJSON.
- Improved XML.Import and JSON.Import to better report progress on slow connections.
- Improved XML.ToJSON to handle data type conversion for attributes, too.
- Version 12.3
- You can now use english spelling JSON.Colourise and XML.Colourise if you prefer to call JSON.Colorize or XML.Colorize.
- Version 12.2
- Changed XML.NodeNames to return names in order of appearance.
- Changed XML.SetPathValue to create text note if needed.
- Version 12.1
- Added darkMode parameter for XML.Colorize and JSON.Colorize function.
- Added new flag for XML.ToJSON to include namespaces.
- Fixed a problem with XML.Query, where the first only flag was not handled correctly.
- Version 12.0
- Changed XML.Query to remove surrounding quotes for namespaces.
- Version 11.5
- Added XML.ApplyStylesheet2 function.
- Added XML.ItemRefs function.
- Fixed error message reporting problem for XML.ApplyStylesheet function.
Blog Entries
- MBS FileMaker Plugin 12.4
- The new ZUGFeRD example
- MBS Plugin Quiz
- Query MBS Version from plugin in container
- FileMaker Developers in Southern California
- MBS FileMaker Plugin 10.4 - More than 6300 Functions In One Plugin
- What is new in the MBS FileMaker Plugin Version 10.3
- Split XML for DDR into files for GIT
- Neues MBS FileMaker Plugin 10.1 - Über 6100 Funktionen in einem Plugin
- MBS FileMaker Plugin 8.4 - More than 5400 Functions In One Plugin
FileMaker Magazin
- Ausgabe 6/2022, Seite 24 bis 26
- Ausgabe 5/2018, Seite 24 bis 25, PDF
- Ausgabe 3/2017, Seite 27, PDF
- Ausgabe 4/2016, Seite 19, PDF
- Ausgabe 5/2015, Seite 38
Example Databases
