> You import a Xerces document into Xalan's own DOM hierarchy using their
> XercesDocumentBridge class. (Their DOM is separate from the Xerces DOM for
> performance reasons, I understand.) You map the node you want to use as a
> context node from Xerces to Xalan. You execute an XPath expression on the
> context node. Any individual node in a XPath nodeset can be mapped from
> Xalan to Xerces easily.
I hope to give this a try later today. Does this mean though that
the Xerces document is copied into a Xalan one? I'm just thinking that for
the kind of work I do, if this were the case, it'd be a huge performance
hit.
I'd also like to step back, and just explain my intentions
here. My company uses a custom scripting language in its day to day
operations. When we were first developing this language, we looked at a
few XML technologies, and decided that at the time, Xalan didn't meet our
needs, and used Xerces instead.
At the time, XPath didn't exist, and we ended up implementing
something very similar, which was then later modified to support
XPath. Due to our business requirements, we've enhanced this
implementation a bit with custom functions, and the like.
I'm not suggesting incorporating our module into the
official Xerces distribution. We're wanting to offer this module to anyone
who might find it useful, in the spirit of open source. It could very well
be the case that it's completely redundant in light of Xalan's XPath
implementation. However, while we're going to take a closer look at what
Xalan currently implements, we still feel that our implementation has its
merits, and would be of use to some people.
That being said, I'd like to ask my original question again. For
anyone that would be interested in using this under windows, can you
advise me on how to implement the project and changes to the Xerces
code. Because I end up with mutually dependent libraries, VC++ isn't happy
with it. The quick and easy thing to do is incorporate the whole of the
module into the XercesLib project. But is there a better, or preferred
way?
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]