5.5 Integration of strings and dicts in the libraries
AllApplicationManualNameSummaryHelp

  • Documentation
    • Reference manual
      • SWI-Prolog extensions
        • Integration of strings and dicts in the libraries
          • Dicts and option processing
          • Dicts in core data structures
          • Dicts, strings and XML
          • Dicts, strings and JSON
          • Dicts, strings and HTTP
    • Packages

5.5.3 Dicts, strings and XML

The XML representation could benefit significantly from the new features. In due time we plan to provide an set of alternative predicates and options to existing predicates that can be used to exploit the new types. We propose the following changes to the data representation:

  • The attribute list of the element(Name, Attributes, Content) will become a dict.
  • Attribute values will remain atoms
  • CDATA in element content will be represented as strings