Hi guys,

hope someone can halp me pls. I wrote simple Java class to sign XML documents - and it works perfect. But... If there is anything else but root element it doesn't work. For example if xml-stylesheet directive is in document verfication fails. I tried to write my own URIDereferencer but it doesn't work as well. I have no idea any more. Is there any way by signing to say: I want only those elements to be signed - in my case I want only root element (includeing its children) to be signed. I am using Java Security functionalities and the same I get with Apache sec lib. Thnx for any help. The document shouldn't be changed (except siganture element) and I don't have id attribut in my root element.