I am using Xerces DOM & I create a DOM document on which I want to apply an
xpath to get a node. Will this be a correct statement :
"Xalan-C does not work with Xerces DOM Documents". 

Now I will have to rip out Xerces from my framework & use Xalan DOM instead.
What I am missing here is if both Xalan-C & Xerces-C were done under the
Apache SF why there is not compatibility layer. 

It would be insightfull for me if somebody could tell me if Xerces is going
to be dropped in favour for Xalan?

It may be noted that Xalan-J works with Xerces-J which made life so simple. 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 20, 2001 2:32 PM
To: [EMAIL PROTECTED]
Subject: Re: Xerces DOM Objects & Xalan



Yes, there are some very good reasons.  A couple of them are:

   1. The Xerces DOM_* interfaces are smart-pointers.  They do not provide
   an abstraction upon which to build an alternate implementation.
   2. The original Xerces DOM does not have good performance or memory
   usage characteristics.

If you read the documentation, you will discover that the topic of wrapping
the Xerces DOM for use in Xalan is discussed.  If you are not using the
Xerces DOM for any particular reason, you should use Xalan's proprietary
source tree, as the performance is much better.  For more information, you
can search the archives of the mailing list:

   http://marc.theaimsgroup.com/?l=xalan-dev&r=1&w=2

Dave



 

                    "Gupta,

                    Rajan"               To:     [EMAIL PROTECTED]

                    <rgupta@eshar        cc:     [EMAIL PROTECTED],
(bcc: David N                   
                    e.com>               Bertoni/CAM/Lotus)

                                         Subject:     Xerces DOM Objects &
Xalan                            
                    09/20/2001

                    02:24 PM

                    Please

                    respond to

                    xalan-dev

 

 




Hello! All,
I have a design question on using Xalan with DOM Documents generated via
Xerces. How can I apply an XPath expression on a DOM_Document as defined in
<dom/DOM_Document.hpp>

I notice in the samples provided that Xalan uses its DOM hierarchy such as
XalanDocument. Was there any specific reason not to use the objects defined
by Xerces or I am missing something.

Thanks
Rajan




Reply via email to