Caninical XML node set

# Explanation of the output

The following text contains the nodeset of the given Reference before it is canonicalized. There exist four different styles to indicate how a given node is treated.

- A node which is in the node set is labeled using the INCLUDED style.
- A node which is NOT in the node set is labeled EXCLUDED style.
- A namespace which is in the node set AND in the InclusiveNamespaces PrefixList is labeled using the INCLUDEDINCLUSIVENAMESPACE style.
- A namespace which is in NOT the node set AND in the InclusiveNamespaces PrefixList is labeled using the INCLUDEDINCLUSIVENAMESPACE style.

# Output

    <foo:Root xmlns="http://example.org/" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" xml:lang="en-ie">¶
    ··<bar:Something xmlns="http://example.org/" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">¶
    ·····<foo:Something xmlns="http://example.org/" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">¶
    ········<bar:Something xmlns="http://example.org/" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">¶
    ···········<foo:Something xmlns="http://example.org/" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">¶
    ·············<baz:Something xmlns="http://example.org/" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo"></baz:Something>¶
    ···········</foo:Something>¶
    ········</bar:Something>¶
    ·····</foo:Something>¶
    ··</bar:Something>¶
    ··<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">¶
    ····<SignedInfo xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" xml:lang="en-ie">¶
    ······<CanonicalizationMethod xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"></CanonicalizationMethod>¶
    ······<SignatureMethod xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" Algorithm="http://www.w3.org/2000/09/xmldsig#dsa-sha1"></SignatureMethod>¶
    ······<Reference xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" URI="">¶
    ········<Transforms xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">¶
    ··········<Transform xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116">¶
    ············<XPath xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">¶
    ··············¶
    ··············ancestor-or-self::bar:Something¶
    ············</XPath>¶
    ··········</Transform>¶
    ········</Transforms>¶
    ········<DigestMethod xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></DigestMethod>¶
    ········<DigestValue xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">lCOS/JtpmOE+4eXFaOpY4v4BOgI=</DigestValue>¶
    ······</Reference>¶
    ······<Reference xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" URI="">¶
    ········<Transforms xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">¶
    ··········<Transform xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116">¶
    ············<XPath xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">¶
    ··············¶
    ··············ancestor-or-self::bar:Something··and¶
    ··············((name()·!=·"bar")·or·parent::bar:Something)··and¶
    ··············((name()·!=·"foo")·or·parent::foo:Something)··and¶
    ··············((name()·!=·"baz")·or·parent::baz:Something)··and¶
    ··············((name()·!=·"")·or·self::text())¶
    ············</XPath>¶
    ··········</Transform>¶
    ········</Transforms>¶
    ········<DigestMethod xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></DigestMethod>¶
    ········<DigestValue xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">OyVqEWXE7C+5NyKtceUkdmiFO9A=</DigestValue>¶
    ······</Reference>¶
    ······<Reference xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" URI="">¶
    ········<Transforms xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">¶
    ··········<Transform xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116">¶
    ············<XPath xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">¶
    ··············¶
    ··············ancestor-or-self::bar:Something··and¶
    ··············(self::text()··or¶
    ···············(namespace-uri()·!=·"")··or¶
    ···············(string(self::node())·=·namespace-uri(parent::node())))¶
    ············</XPath>¶
    ··········</Transform>¶
    ········</Transforms>¶
    ········<DigestMethod xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></DigestMethod>¶
    ········<DigestValue xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">OyVqEWXE7C+5NyKtceUkdmiFO9A=</DigestValue>¶
    ······</Reference>¶
    ······<Reference xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" URI="">¶
    ········<Transforms xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">¶
    ··········<Transform xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116">¶
    ············<XPath xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">¶
    ··············¶
    ··············ancestor-or-self::bar:Something··and¶
    ··············not·(self::foo:Something)··and¶
    ··············(self::text()··or¶
    ···············(namespace-uri()·!=·"")··or¶
    ···············(string(self::node())·=·namespace-uri(parent::node())))¶
    ············</XPath>¶
    ··········</Transform>¶
    ········</Transforms>¶
    ········<DigestMethod xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></DigestMethod>¶
    ········<DigestValue xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">mL1aAQ/RoOPO0SHj9KR+yY3n4CM=</DigestValue>¶
    ······</Reference>¶
    ······<Reference xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" URI="">¶
    ········<Transforms xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">¶
    ··········<Transform xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116">¶
    ············<XPath xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">¶
    ··············¶
    ··············ancestor-or-self::bar:Something··and¶
    ··············(count(parent::node()/namespace::*)··!=¶
    ···············count(parent::node()/namespace::*·|·self::node()))¶
    ············</XPath>¶
    ··········</Transform>¶
    ········</Transforms>¶
    ········<DigestMethod xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></DigestMethod>¶
    ········<DigestValue xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">bQgF8ICymYZTuUP0FE40l3Q7BZk=</DigestValue>¶
    ······</Reference>¶
    ······<Reference xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" URI="">¶
    ········<Transforms xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">¶
    ··········<Transform xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116">¶
    ············<XPath xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">¶
    ··············¶
    ··············ancestor-or-self::bar:Something··and¶
    ··············(self::text()··or¶
    ···············(namespace-uri()·!=·""))¶
    ············</XPath>¶
    ··········</Transform>¶
    ········</Transforms>¶
    ········<DigestMethod xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></DigestMethod>¶
    ········<DigestValue xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">bQgF8ICymYZTuUP0FE40l3Q7BZk=</DigestValue>¶
    ······</Reference>¶
    ······<Reference xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" URI="">¶
    ········<Transforms xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">¶
    ··········<Transform xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116">¶
    ············<XPath xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">¶
    ··············¶
    ··············ancestor-or-self::bar:Something··and¶
    ··············(count(parent::node()/namespace::*)··=¶
    ···············count(parent::node()/namespace::*·|·self::node()))¶
    ············</XPath>¶
    ··········</Transform>¶
    ········</Transforms>¶
    ········<DigestMethod xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></DigestMethod>¶
    ········<DigestValue xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">IJQgd59FJ1PAxxCY5mIL6cZemi0=</DigestValue>¶
    ······</Reference>¶
    ······<Reference xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" URI="">¶
    ········<Transforms xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">¶
    ··········<Transform xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116">¶
    ············<XPath xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">¶
    ··············¶
    ··············ancestor-or-self::bar:Something··and¶
    ··············(string(self::node())·=·namespace-uri(parent::node()))¶
    ············</XPath>¶
    ··········</Transform>¶
    ········</Transforms>¶
    ········<DigestMethod xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></DigestMethod>¶
    ········<DigestValue xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">SXGijO1eArEaXGphF0dxwj5fp1g=</DigestValue>¶
    ······</Reference>¶
    ······<Reference xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" URI="">¶
    ········<Transforms xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">¶
    ··········<Transform xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116">¶
    ············<XPath xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">¶
    ··············¶
    ··············ancestor-or-self::bar:Something··and¶
    ··············(self::text()··or¶
    ···············(namespace-uri()·!=·"")··or¶
    ···············((name()·=·"")··and¶
    ················((count(ancestor-or-self::node())·mod·2)·=·1)))¶
    ············</XPath>¶
    ··········</Transform>¶
    ········</Transforms>¶
    ········<DigestMethod xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></DigestMethod>¶
    ········<DigestValue xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">rNm4Id9ah12nugzXAUJgjas7ls0=</DigestValue>¶
    ······</Reference>¶
    ······<Reference xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" URI="">¶
    ········<Transforms xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">¶
    ··········<Transform xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116">¶
    ············<XPath xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">¶
    ··············¶
    ··············ancestor-or-self::bar:Something¶
    ············</XPath>¶
    ··········</Transform>¶
    ··········<Transform xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></Transform>¶
    ········</Transforms>¶
    ········<DigestMethod xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></DigestMethod>¶
    ········<DigestValue xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">Wa7sEWwUmSNsv6p75omGKXL6rjI=</DigestValue>¶
    ······</Reference>¶
    ······<Reference xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" URI="">¶
    ········<Transforms xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">¶
    ··········<Transform xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116">¶
    ············<XPath xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">¶
    ··············¶
    ··············ancestor-or-self::bar:Something··and¶
    ··············((name()·!=·"bar")·or·parent::bar:Something)··and¶
    ··············((name()·!=·"foo")·or·parent::foo:Something)··and¶
    ··············((name()·!=·"baz")·or·parent::baz:Something)··and¶
    ··············((name()·!=·"")·or·self::text())¶
    ············</XPath>¶
    ··········</Transform>¶
    ··········<Transform xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></Transform>¶
    ········</Transforms>¶
    ········<DigestMethod xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></DigestMethod>¶
    ········<DigestValue xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">Wa7sEWwUmSNsv6p75omGKXL6rjI=</DigestValue>¶
    ······</Reference>¶
    ······<Reference xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" URI="">¶
    ········<Transforms xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">¶
    ··········<Transform xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116">¶
    ············<XPath xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">¶
    ··············¶
    ··············ancestor-or-self::bar:Something··and¶
    ··············(self::text()··or¶
    ···············(namespace-uri()·!=·"")··or¶
    ···············(string(self::node())·=·namespace-uri(parent::node())))¶
    ············</XPath>¶
    ··········</Transform>¶
    ··········<Transform xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></Transform>¶
    ········</Transforms>¶
    ········<DigestMethod xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></DigestMethod>¶
    ········<DigestValue xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">Wa7sEWwUmSNsv6p75omGKXL6rjI=</DigestValue>¶
    ······</Reference>¶
    ······<Reference xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" URI="">¶
    ········<Transforms xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">¶
    ··········<Transform xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116">¶
    ············<XPath xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">¶
    ··············¶
    ··············ancestor-or-self::bar:Something··and¶
    ··············not·(self::foo:Something)··and¶
    ··············(self::text()··or¶
    ···············(namespace-uri()·!=·"")··or¶
    ···············(string(self::node())·=·namespace-uri(parent::node())))¶
    ············</XPath>¶
    ··········</Transform>¶
    ··········<Transform xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></Transform>¶
    ········</Transforms>¶
    ········<DigestMethod xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></DigestMethod>¶
    ········<DigestValue xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">uOQJQIIUETYyk0+YEBdbEQwrYbw=</DigestValue>¶
    ······</Reference>¶
    ······<Reference xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" URI="">¶
    ········<Transforms xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">¶
    ··········<Transform xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116">¶
    ············<XPath xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">¶
    ··············¶
    ··············ancestor-or-self::bar:Something··and¶
    ··············(count(parent::node()/namespace::*)··!=¶
    ···············count(parent::node()/namespace::*·|·self::node()))¶
    ············</XPath>¶
    ··········</Transform>¶
    ··········<Transform xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></Transform>¶
    ········</Transforms>¶
    ········<DigestMethod xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></DigestMethod>¶
    ········<DigestValue xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">6Wmm693F38R+R8E9DZM+MVXXMME=</DigestValue>¶
    ······</Reference>¶
    ······<Reference xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" URI="">¶
    ········<Transforms xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">¶
    ··········<Transform xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116">¶
    ············<XPath xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">¶
    ··············¶
    ··············ancestor-or-self::bar:Something··and¶
    ··············(self::text()··or¶
    ···············(namespace-uri()·!=·""))¶
    ············</XPath>¶
    ··········</Transform>¶
    ··········<Transform xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></Transform>¶
    ········</Transforms>¶
    ········<DigestMethod xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></DigestMethod>¶
    ········<DigestValue xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">6Wmm693F38R+R8E9DZM+MVXXMME=</DigestValue>¶
    ······</Reference>¶
    ······<Reference xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" URI="">¶
    ········<Transforms xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">¶
    ··········<Transform xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116">¶
    ············<XPath xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">¶
    ··············¶
    ··············ancestor-or-self::bar:Something··and¶
    ··············(count(parent::node()/namespace::*)··=¶
    ···············count(parent::node()/namespace::*·|·self::node()))¶
    ············</XPath>¶
    ··········</Transform>¶
    ··········<Transform xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></Transform>¶
    ········</Transforms>¶
    ········<DigestMethod xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></DigestMethod>¶
    ········<DigestValue xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">2jmj7l5rSw0yVb/vlWAYkK/YBwk=</DigestValue>¶
    ······</Reference>¶
    ······<Reference xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" URI="">¶
    ········<Transforms xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">¶
    ··········<Transform xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116">¶
    ············<XPath xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">¶
    ··············¶
    ··············ancestor-or-self::bar:Something··and¶
    ··············(string(self::node())·=·namespace-uri(parent::node()))¶
    ············</XPath>¶
    ··········</Transform>¶
    ··········<Transform xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></Transform>¶
    ········</Transforms>¶
    ········<DigestMethod xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></DigestMethod>¶
    ········<DigestValue xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">2jmj7l5rSw0yVb/vlWAYkK/YBwk=</DigestValue>¶
    ······</Reference>¶
    ······<Reference xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" URI="">¶
    ········<Transforms xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">¶
    ··········<Transform xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116">¶
    ············<XPath xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">¶
    ··············¶
    ··············ancestor-or-self::bar:Something··and¶
    ··············(self::text()··or¶
    ···············(namespace-uri()·!=·"")··or¶
    ···············((name()·=·"")··and¶
    ················((count(ancestor-or-self::node())·mod·2)·=·1)))¶
    ············</XPath>¶
    ··········</Transform>¶
    ··········<Transform xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></Transform>¶
    ········</Transforms>¶
    ········<DigestMethod xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></DigestMethod>¶
    ········<DigestValue xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">6Wmm693F38R+R8E9DZM+MVXXMME=</DigestValue>¶
    ······</Reference>¶
    ······<Reference xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" URI="">¶
    ········<Transforms xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">¶
    ··········<Transform xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116">¶
    ············<XPath xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">¶
    ··············¶
    ··············ancestor-or-self::bar:Something¶
    ············</XPath>¶
    ··········</Transform>¶
    ··········<Transform xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#">¶
    ············<InclusiveNamespaces xmlns="http://www.w3.org/2001/10/xml-exc-c14n#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" PrefixList="#default"></InclusiveNamespaces>¶
    ··········</Transform>¶
    ········</Transforms>¶
    ········<DigestMethod xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></DigestMethod>¶
    ········<DigestValue xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">AWtqDbXWKf8TV78C2d16uarbpGk=</DigestValue>¶
    ······</Reference>¶
    ······<Reference xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" URI="">¶
    ········<Transforms xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">¶
    ··········<Transform xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116">¶
    ············<XPath xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">¶
    ··············¶
    ··············ancestor-or-self::bar:Something··and¶
    ··············((name()·!=·"bar")·or·parent::bar:Something)··and¶
    ··············((name()·!=·"foo")·or·parent::foo:Something)··and¶
    ··············((name()·!=·"baz")·or·parent::baz:Something)··and¶
    ··············((name()·!=·"")·or·self::text())¶
    ············</XPath>¶
    ··········</Transform>¶
    ··········<Transform xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#">¶
    ············<InclusiveNamespaces xmlns="http://www.w3.org/2001/10/xml-exc-c14n#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" PrefixList="#default"></InclusiveNamespaces>¶
    ··········</Transform>¶
    ········</Transforms>¶
    ········<DigestMethod xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></DigestMethod>¶
    ········<DigestValue xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">Wa7sEWwUmSNsv6p75omGKXL6rjI=</DigestValue>¶
    ······</Reference>¶
    ······<Reference xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" URI="">¶
    ········<Transforms xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">¶
    ··········<Transform xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116">¶
    ············<XPath xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">¶
    ··············¶
    ··············ancestor-or-self::bar:Something··and¶
    ··············(self::text()··or¶
    ···············(namespace-uri()·!=·"")··or¶
    ···············(string(self::node())·=·namespace-uri(parent::node())))¶
    ············</XPath>¶
    ··········</Transform>¶
    ··········<Transform xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#">¶
    ············<InclusiveNamespaces xmlns="http://www.w3.org/2001/10/xml-exc-c14n#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" PrefixList="#default"></InclusiveNamespaces>¶
    ··········</Transform>¶
    ········</Transforms>¶
    ········<DigestMethod xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></DigestMethod>¶
    ········<DigestValue xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">Wa7sEWwUmSNsv6p75omGKXL6rjI=</DigestValue>¶
    ······</Reference>¶
    ······<Reference xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" URI="">¶
    ········<Transforms xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">¶
    ··········<Transform xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116">¶
    ············<XPath xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">¶
    ··············¶
    ··············ancestor-or-self::bar:Something··and¶
    ··············not·(self::foo:Something)··and¶
    ··············(self::text()··or¶
    ···············(namespace-uri()·!=·"")··or¶
    ···············(string(self::node())·=·namespace-uri(parent::node())))¶
    ············</XPath>¶
    ··········</Transform>¶
    ··········<Transform xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#">¶
    ············<InclusiveNamespaces xmlns="http://www.w3.org/2001/10/xml-exc-c14n#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" PrefixList="#default"></InclusiveNamespaces>¶
    ··········</Transform>¶
    ········</Transforms>¶
    ········<DigestMethod xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></DigestMethod>¶
    ········<DigestValue xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">uOQJQIIUETYyk0+YEBdbEQwrYbw=</DigestValue>¶
    ······</Reference>¶
    ······<Reference xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" URI="">¶
    ········<Transforms xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">¶
    ··········<Transform xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116">¶
    ············<XPath xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">¶
    ··············¶
    ··············ancestor-or-self::bar:Something··and¶
    ··············(count(parent::node()/namespace::*)··!=¶
    ···············count(parent::node()/namespace::*·|·self::node()))¶
    ············</XPath>¶
    ··········</Transform>¶
    ··········<Transform xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#">¶
    ············<InclusiveNamespaces xmlns="http://www.w3.org/2001/10/xml-exc-c14n#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" PrefixList="#default"></InclusiveNamespaces>¶
    ··········</Transform>¶
    ········</Transforms>¶
    ········<DigestMethod xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></DigestMethod>¶
    ········<DigestValue xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">6Wmm693F38R+R8E9DZM+MVXXMME=</DigestValue>¶
    ······</Reference>¶
    ······<Reference xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" URI="">¶
    ········<Transforms xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">¶
    ··········<Transform xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116">¶
    ············<XPath xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">¶
    ··············¶
    ··············ancestor-or-self::bar:Something··and¶
    ··············(self::text()··or¶
    ···············(namespace-uri()·!=·""))¶
    ············</XPath>¶
    ··········</Transform>¶
    ··········<Transform xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#">¶
    ············<InclusiveNamespaces xmlns="http://www.w3.org/2001/10/xml-exc-c14n#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" PrefixList="#default"></InclusiveNamespaces>¶
    ··········</Transform>¶
    ········</Transforms>¶
    ········<DigestMethod xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></DigestMethod>¶
    ········<DigestValue xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">6Wmm693F38R+R8E9DZM+MVXXMME=</DigestValue>¶
    ······</Reference>¶
    ······<Reference xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" URI="">¶
    ········<Transforms xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">¶
    ··········<Transform xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116">¶
    ············<XPath xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">¶
    ··············¶
    ··············ancestor-or-self::bar:Something··and¶
    ··············(count(parent::node()/namespace::*)··=¶
    ···············count(parent::node()/namespace::*·|·self::node()))¶
    ············</XPath>¶
    ··········</Transform>¶
    ··········<Transform xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#">¶
    ············<InclusiveNamespaces xmlns="http://www.w3.org/2001/10/xml-exc-c14n#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" PrefixList="#default"></InclusiveNamespaces>¶
    ··········</Transform>¶
    ········</Transforms>¶
    ········<DigestMethod xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></DigestMethod>¶
    ········<DigestValue xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">NpjMPzEF5YZFbz4ls7eN36QWdXs=</DigestValue>¶
    ······</Reference>¶
    ······<Reference xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" URI="">¶
    ········<Transforms xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">¶
    ··········<Transform xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116">¶
    ············<XPath xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">¶
    ··············¶
    ··············ancestor-or-self::bar:Something··and¶
    ··············(string(self::node())·=·namespace-uri(parent::node()))¶
    ············</XPath>¶
    ··········</Transform>¶
    ··········<Transform xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#">¶
    ············<InclusiveNamespaces xmlns="http://www.w3.org/2001/10/xml-exc-c14n#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" PrefixList="#default"></InclusiveNamespaces>¶
    ··········</Transform>¶
    ········</Transforms>¶
    ········<DigestMethod xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></DigestMethod>¶
    ········<DigestValue xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">2jmj7l5rSw0yVb/vlWAYkK/YBwk=</DigestValue>¶
    ······</Reference>¶
    ······<Reference xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" URI="">¶
    ········<Transforms xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">¶
    ··········<Transform xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116">¶
    ············<XPath xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">¶
    ··············¶
    ··············ancestor-or-self::bar:Something··and¶
    ··············(self::text()··or¶
    ···············(namespace-uri()·!=·"")··or¶
    ···············((name()·=·"")··and¶
    ················((count(ancestor-or-self::node())·mod·2)·=·1)))¶
    ············</XPath>¶
    ··········</Transform>¶
    ··········<Transform xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#">¶
    ············<InclusiveNamespaces xmlns="http://www.w3.org/2001/10/xml-exc-c14n#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" PrefixList="#default"></InclusiveNamespaces>¶
    ··········</Transform>¶
    ········</Transforms>¶
    ········<DigestMethod xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></DigestMethod>¶
    ········<DigestValue xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">EacBN2aBBNSjpCOzZUOOvSv4zHU=</DigestValue>¶
    ······</Reference>¶
    ····</SignedInfo>¶
    ····<SignatureValue xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">¶
    ······Fx34Vc07fXac6qmshhhLe8ogjElSmC6YxTnhxj8wMTSkfvxY+wYtrQ==¶
    ····</SignatureValue>¶
    ····<KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">¶
    ······<KeyValue xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">¶
    ········<DSAKeyValue xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">¶
    ··········<P xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">¶
    ············3eOeAvqnEyFpW+uTSgrdj7YLjaTkpyHecKFIoLu8QZNkGTQI1ciITBH0lqfIkdCH¶
    ············Si8fiUC3DTq3J9FsJef4YVtDF7JpUvHTOQqtq7Zgx6KC8Wxkz6rQCxOr7F0ApOYi¶
    ············89zLRoe4MkDGe6ux0+WtyOTQoVIGNTDDUFXrUQNbLrE=¶
    ··········</P>¶
    ··········<Q xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">hDLcFK0GO/Hz1arxOOvsgM/VLyU=</Q>¶
    ··········<G xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">¶
    ············nnx7hbdWozGbtnFgnbFnopfRl7XRacpkPJRGf5P2IUgVspEUSUoN6i1fDBfBg43z¶
    ············Kt7dlEaQL7b5+JTZt3MhZNPosxsgxVuT7Ts/g5k7EnpdYv0a5hw5Bw29fjbGHfgM¶
    ············8d2rhd2Ui0xHbk0D451nhLxVWulviOSPhzKKvXrbySA=¶
    ··········</G>¶
    ··········<Y xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">¶
    ············cfYpihpAQeepbNFS4MAbQRhdXpDi5wLrwxE5hIvoYqo1L8BQVu8fY1TFAPtoae1i¶
    ············Bg/GIJyP3iLfyuBJaDvJJLP30wBH9i/s5J3656PevpOVdTfi777Fi9Gj6y/ib2Vv¶
    ············+OZfJkkp4L50+p5TUhPmQLJtREsgtl+tnIOyJT++G9U=¶
    ··········</Y>¶
    ········</DSAKeyValue>¶
    ······</KeyValue>¶
    ······<X509Data xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">¶
    ········<X509SubjectName xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">¶
    ··········CN=Merlin·Hughes,OU=X/Secure,O=Baltimore·Technologies·Ltd.,ST=Dublin,C=IE¶
    ········</X509SubjectName>¶
    ········<X509IssuerSerial xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">¶
    ··········<X509IssuerName xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">¶
    ············CN=Transient·CA,OU=X/Secure,O=Baltimore·Technologies·Ltd.,ST=Dublin,C=IE¶
    ··········</X509IssuerName>¶
    ··········<X509SerialNumber xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">1017788370348</X509SerialNumber>¶
    ········</X509IssuerSerial>¶
    ········<X509Certificate xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">¶
    ··········MIIDUDCCAxCgAwIBAgIGAOz46g2sMAkGByqGSM44BAMwbjELMAkGA1UEBhMCSUUx¶
    ··········DzANBgNVBAgTBkR1YmxpbjEkMCIGA1UEChMbQmFsdGltb3JlIFRlY2hub2xvZ2ll¶
    ··········cyBMdGQuMREwDwYDVQQLEwhYL1NlY3VyZTEVMBMGA1UEAxMMVHJhbnNpZW50IENB¶
    ··········MB4XDTAyMDQwMjIyNTkzMFoXDTEyMDQwMjIxNTkyNVowbzELMAkGA1UEBhMCSUUx¶
    ··········DzANBgNVBAgTBkR1YmxpbjEkMCIGA1UEChMbQmFsdGltb3JlIFRlY2hub2xvZ2ll¶
    ··········cyBMdGQuMREwDwYDVQQLEwhYL1NlY3VyZTEWMBQGA1UEAxMNTWVybGluIEh1Z2hl¶
    ··········czCCAbcwggEsBgcqhkjOOAQBMIIBHwKBgQDd454C+qcTIWlb65NKCt2PtguNpOSn¶
    ··········Id5woUigu7xBk2QZNAjVyIhMEfSWp8iR0IdKLx+JQLcNOrcn0Wwl5/hhW0MXsmlS¶
    ··········8dM5Cq2rtmDHooLxbGTPqtALE6vsXQCk5iLz3MtGh7gyQMZ7q7HT5a3I5NChUgY1¶
    ··········MMNQVetRA1susQIVAIQy3BStBjvx89Wq8Tjr7IDP1S8lAoGBAJ58e4W3VqMxm7Zx¶
    ··········YJ2xZ6KX0Ze10WnKZDyURn+T9iFIFbKRFElKDeotXwwXwYON8yre3ZRGkC+2+fiU¶
    ··········2bdzIWTT6LMbIMVbk+07P4OZOxJ6XWL9GuYcOQcNvX42xh34DPHdq4XdlItMR25N¶
    ··········A+OdZ4S8VVrpb4jkj4cyir1628kgA4GEAAKBgHH2KYoaQEHnqWzRUuDAG0EYXV6Q¶
    ··········4ucC68MROYSL6GKqNS/AUFbvH2NUxQD7aGntYgYPxiCcj94i38rgSWg7ySSz99MA¶
    ··········R/Yv7OSd+uej3r6TlXU34u++xYvRo+sv4m9lb/jmXyZJKeC+dPqeU1IT5kCybURL¶
    ··········ILZfrZyDsiU/vhvVozowODAOBgNVHQ8BAf8EBAMCB4AwEQYDVR0OBAoECIatY7SE¶
    ··········lXEOMBMGA1UdIwQMMAqACIOGPkB2MuKTMAkGByqGSM44BAMDLwAwLAIUSvT02iQj¶
    ··········Q5da4Wpe0Bvs7GuCcVsCFCEcQpbjUfnxXFXNWiFyQ49ZrWqn¶
    ········</X509Certificate>¶
    ········<X509Certificate xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo">¶
    ··········MIIDSzCCAwugAwIBAgIGAOz46fwJMAkGByqGSM44BAMwbjELMAkGA1UEBhMCSUUx¶
    ··········DzANBgNVBAgTBkR1YmxpbjEkMCIGA1UEChMbQmFsdGltb3JlIFRlY2hub2xvZ2ll¶
    ··········cyBMdGQuMREwDwYDVQQLEwhYL1NlY3VyZTEVMBMGA1UEAxMMVHJhbnNpZW50IENB¶
    ··········MB4XDTAyMDQwMjIyNTkyNVoXDTEyMDQwMjIxNTkyNVowbjELMAkGA1UEBhMCSUUx¶
    ··········DzANBgNVBAgTBkR1YmxpbjEkMCIGA1UEChMbQmFsdGltb3JlIFRlY2hub2xvZ2ll¶
    ··········cyBMdGQuMREwDwYDVQQLEwhYL1NlY3VyZTEVMBMGA1UEAxMMVHJhbnNpZW50IENB¶
    ··········MIIBtzCCASwGByqGSM44BAEwggEfAoGBAN3jngL6pxMhaVvrk0oK3Y+2C42k5Kch¶
    ··········3nChSKC7vEGTZBk0CNXIiEwR9JanyJHQh0ovH4lAtw06tyfRbCXn+GFbQxeyaVLx¶
    ··········0zkKrau2YMeigvFsZM+q0AsTq+xdAKTmIvPcy0aHuDJAxnursdPlrcjk0KFSBjUw¶
    ··········w1BV61EDWy6xAhUAhDLcFK0GO/Hz1arxOOvsgM/VLyUCgYEAnnx7hbdWozGbtnFg¶
    ··········nbFnopfRl7XRacpkPJRGf5P2IUgVspEUSUoN6i1fDBfBg43zKt7dlEaQL7b5+JTZ¶
    ··········t3MhZNPosxsgxVuT7Ts/g5k7EnpdYv0a5hw5Bw29fjbGHfgM8d2rhd2Ui0xHbk0D¶
    ··········451nhLxVWulviOSPhzKKvXrbySADgYQAAoGAfag+HCABIJadDD9Aarhgc2QR3Lp7¶
    ··········PpMOh0lAwLiIsvkO4UlbeOS0IJC8bcqLjM1fVw6FGSaxmq+4y1ag2m9k6IdE0Qh5¶
    ··········NxB/xFkmdwqXFRIJVp44OeUygB47YK76NmUIYG3DdfiPPU3bqzjvtOtETiCHvo25¶
    ··········4D6UjwPpYErXRUajNjA0MA4GA1UdDwEB/wQEAwICBDAPBgNVHRMECDAGAQH/AgEA¶
    ··········MBEGA1UdDgQKBAiDhj5AdjLikzAJBgcqhkjOOAQDAy8AMCwCFELu0nuweqW7Wf0s¶
    ··········gk/CAGGL0BGKAhRNdgQGr5iyZKoH4oqPm0VJ9TjXLg==¶
    ········</X509Certificate>¶
    ······</X509Data>¶
    ····</KeyInfo>¶
    ··</Signature>¶
    </foo:Root>