9.2 XML Quote primitives
AllApplicationManualNameSummaryHelp

  • Documentation
    • Reference manual
    • Packages
      • SWI-Prolog SGML/XML parser
        • Writing markup
          • XML Quote primitives
            • xml_quote_attribute/3
            • xml_quote_attribute/2
            • xml_quote_cdata/3
            • xml_quote_cdata/2
            • xml_name/2
            • xml_name/1
Availability::- use_module(library(sgml)).(can be autoloaded)
xml_name(+In, +Encoding)
Succeed if In is an atom or string that satisfies the rules for a valid XML element or attribute name. As with the other predicates in this group, if Encoding cannot represent one of the characters, this function fails. Character classification is based on http://www.w3.org/TR/2006/REC-xml-20060816.