/usr/local/lib/swipl/library/ext/sgml/sgml_write.pl
All Application Manual Name SummaryHelp

  • ext
    • sgml
      • sgml.pl -- SGML, XML and HTML parser
      • xpath.pl -- Select nodes in an XML DOM
      • sgml_write.pl -- XML/SGML writer module
        • xml_write/2
        • sgml_write/2
        • html_write/2
        • xml_write/3
        • sgml_write/3
        • html_write/3
        • xmlns/2
      • xsdp_types.pl -- XML-Schema primitive types
 xmlns(?NS, ?URI) is nondet[multifile, library(sgml_write)]
Hook to define human readable abbreviations for XML namespaces. xml_write/3 tries these locations:
  1. This hook
  2. Defaults (see below)
  3. rdf_db:ns/2 for RDF-DB integration

Default XML namespaces are:

xsihttp://www.w3.org/2001/XMLSchema-instance
xshttp://www.w3.org/2001/XMLSchema
xhtmlhttp://www.w3.org/1999/xhtml
soap11http://schemas.xmlsoap.org/soap/envelope/
soap12http://www.w3.org/2003/05/soap-envelope
See also
- xml_write/2, rdf_register_ns/2.