/usr/local/lib/swipl/library/ext/sgml/c14n2.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
      • xsdp_types.pl -- XML-Schema primitive types
      • c14n2.pl -- C14n2 canonical XML documents
        • xml_write_canonical/3
      • pwp.pl -- Prolog Well-formed Pages
 xml_write_canonical(+Stream, +DOM, +Options) is det
Write an XML DOM using the canonical conventions as defined by C14n2. Namespace declarations in the canonical document depend on the original namespace declarations. For this reason the input document must be parsed (see load_structure/3) using the dialect xmlns and the option keep_prefix(true).