> Is this a sane use of the available APIs, or should I take a different > route?
Sounds fine to me.
-scott
Taras Tielkes
<[EMAIL PROTECTED] To: "'[EMAIL PROTECTED]'"
<[EMAIL PROTECTED]>
> cc: (bcc: Scott Boag/CAM/Lotus)
Subject: Precompiling XPath
expressions without a target document
10/29/2001
09:23 AM
Hi,
I have a couple of XPath expressions that I want to evaluate over and over
again, but on different target xml documents.
I took the code from XPathAPI.eval(), and plugged in a custom
implementation
of the PrefixResolver interface that just does static lookups from a table
of static prefixes and namespaces. (Since I don't have a Document reference
at the time I compile the XPath expressions.)
Is this a sane use of the available APIs, or should I take a different
route?
Thanks,
// tt
