Marius,

Yup that would work.

Inside the library though I've tried to avoid using XPath wherever possible, because I'm trying to ensure that users only need to link in Xalan if they want XPath/XSLT support for transforms.

Cheers,
        Berin


Marius Constantin wrote:


Can't you use XPath for that? An expression like "//*[local-name()='Signature'][n]" gives you back the n-th signature element.

Marius

-----Original Message-----
From: Berin Lautenbach [mailto:[EMAIL PROTECTED]
Sent: Friday, December 19, 2003 4:08 PM
To: [EMAIL PROTECTED]
Subject: Re: [c++] RE: CounterSignature or Multiple Signatures - is it
possible?


Milan Tomic wrote:



   Speaking of multiple signatures... How can I verify multiple
signatures in my document? Can I use findDSIGNode() to do the job? I
belive this function finds only first signature element and can't be
used for finding next one.


You are correct. At the moment you have to manually find each signature and verify it.

We could add another variant of findDSIGNode that searches for the nth node. Open to ideas!

Cheers,
        Berin







Reply via email to