Example using XPath

For example, an enveloped signature on the rest of the document:

  <Document id="Full">
    <Signature xmlns:dsig="...">
      <SignedInfo>
        <Reference Id="#Full">
          <Transform Algorithm="..">
            <XPath>not(ancestor-or-self::dsig:Signature)</XPath>
          </Transform>
        </Reference>
        ...
      </SignedInfo>
    </Signature>
    ...
  </Document>

Ivan Herman, W3C Head of Offices
© 1994-2004, W3C (MIT,ERCIM,Keio)
$Date: 2004/03/11 12:07:24 $8 (20)