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

  • ext
    • sgml
      • sgml.pl
      • xpath.pl -- Select nodes in an XML DOM
      • xsdp_types.pl -- XML-Schema primitive types
      • c14n2.pl -- C14n2 canonical XML documents
        • xml_write_canonical/3
      • sgml_write.pl -- XML/SGML writer module
      • 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).