No - the current API doesn't provide a way of doing that. You'll need
to iterate through the DOM yourself and then call the library for each.
Cheers,
Berin
Jaswinder Kaur wrote:
Does XML Security provide a way to encrypt all particular elements in
Document? e.g. in following xml I want to encrypt all the "price" element?
<?xml version="1.0" encoding="UTF-8"?>
<library>
<book>
<name>Test1</name>
<price>10.00</price>
</book>
<book>
<name>Test2</name>
<price>20.00</price>
</book>
<book>
<name>Test3</name>
<price>30.00</price>
</book>
<book>
<name>Test1</name>
<price>40.00</price>
</book>
</library>
If yes , can someone tell me how.
Thanks in advance!!!
"Attention: This message is intended only for the individual to whom it
is addressed and may contain information that is confidential or
privileged. If you are not the intended recipient, or the employee or
person responsible for delivering it to the intended recipient, you are
hereby notified that any dissemination, distribution, copying or use is
strictly prohibited. If you have received this communication in error,
please notify the sender and destroy or delete this communication
immediately."
==============================================================================