My previous article about CAdES used the AdES library to create CMS Advanced Electronic Signatures, a set of extensions to Cryptographic Message Syntax (CMS) signed data making it suitable for advanced electronic signatures.
Using the same library, now you can sign XML data using XAdES, extension to XMLDSIG for signing XML documents.
Read full news article on THE CODE PROJECT