I was reviewing the Mail archive with a view to understanding how to go about creating References that "point" to sub elements within a Document:
<message> <Header> The Header </Header> <Body>The Body </Body> </message> so I expected to be able to create a Signature Reference Element using something like sig.addDocument("#xpointer(//Header)"); Reviewing the archive I see that a) If I'm not using an ID attribute I don't seem to able to do this. Is this true even if I have a schema for the document? b) I can do this using XPath transforms. My problem is that I am following a set of guidelines which state a) That I should reference the "Header" and "Body" separately in my signature b) That I should not use Transforms ( apart from the normal C14N and enveloped signature ) c) I can't depend on the document following the schema precisely ( the organization sending the document is loose in the way it interprets the schema.) My Question is "IS there any way of using the sig.addDocument("Xpointer(Xpath))"); type syntax at all ? Or is there any planned?" I would be quite willing to write a resolver or whatever to do this ( I am assuming I will use Xalan/Xerces XPath engine to do the hard part ). Thanks John Francis [EMAIL PROTECTED] HISL