Example of How to Digitally Sign XML Files or Content
Suppose you want to digitally sign an XML document, but more specifically, suppose you have multiple instances of the same element in the document and you just want to sign a specific ID. Oxygen XML Editor includes a signature tool that allows you to digitally sign XML documents or specific content.
The Oxygen XML Editor installation directory includes a samples
folder that contains a file called personal.xml. For the purposes of
this example, this file will be used to demonstrate how to digitally sign specific content.
Notice that this file has multiple person elements inside the
personnel element. Suppose you want to digitally sign the specific
person element that contains the id=robert.taylor. To do
this, follow this procedure: