While researching the XPath evaluator question I came across something
that raised a question about Xalan initialization so I'll ask it while I
continue digging.

I came across the following in the mail list archive, dated 2006-04-26,
re: "Regarding XPath query":

As I said previously, the best thing to do is to call
> XalanTransformer::initialize() in main(), and remove any usage of the
> "Init" classes.

The sample app on which the code I'm writing is based - SimpleXPathAPI -
calls XMLPlatformUtils::Initialize() and XPathEvaluator::initialize()
and also instantiates a XalanSourceTreeInit class.

My code does exactly this and is working.  The example code Dave sent me
in a previous post uses XalanTransformer::initialize() instead of
XPathEvaluator::initialize().

Q: should I replace XPathEvaluator::initialize() with
XalanTransformer::initialize()?  (probably yes)

Q: do I still need the XalanSourceTreeInit class? (really don't know)

Thank you in advance,

-will

Reply via email to