Module xmerl_c14n

XML canonocialisation for xmerl.

Description

XML canonocialisation for xmerl

Functions for performing XML canonicalisation (C14n), as specified at http://www.w3.org/TR/xml-c14n .

These routines work on xmerl data structures (see the xmerl user guide for details).

Data Types

xml_thing()

xml_thing() = #xmlDocument{} | #xmlElement{} | #xmlAttribute{} | #xmlPI{} | #xmlText{} | #xmlComment{}

Function Index

c14n/1Puts an XML document or element into canonical form, as a string.
c14n/2Puts an XML document or element into canonical form, as a string.
c14n/3Puts an XML document or element into canonical form, as a string.

Function Details

c14n/1

c14n(XmlThing::xml_thing()) -> string()

Puts an XML document or element into canonical form, as a string.

c14n/2

c14n(XmlThing::xml_thing(), Comments::boolean()) -> string()

Puts an XML document or element into canonical form, as a string.

If the Comments argument is true, preserves comments in the output.

c14n/3

c14n(XmlThing::xml_thing(), Comments::boolean(), InclusiveNs::[string()]) -> string()

Puts an XML document or element into canonical form, as a string.

If the Comments argument is true, preserves comments in the output. Any namespace prefixes listed in InclusiveNs will be left as they are and not modified during canonicalization.


Generated by EDoc