One other piece of information:

In both cases, I would be using different XalanTransformers and
XPathEvaluators to used the compiled objects rather than the original
object that did the compiling.

Thanks,
Anthony




|---------+--------------------------------->
|         |           Anthony               |
|         |           Zawacki/Baltimore/Cont|
|         |           r/IBM@IBMUS           |
|         |                                 |
|         |           03/18/2002 08:52 AM   |
|         |           Please respond to     |
|         |           xalan-dev             |
|         |                                 |
|---------+--------------------------------->
  
>------------------------------------------------------------------------------------------------------------------------------|
  |                                                                                    
                                          |
  |       To:       [EMAIL PROTECTED]                                           
                                          |
  |       cc:                                                                          
                                          |
  |       Subject:  Xalan/Xerces/XPath                                                 
                                          |
  |                                                                                    
                                          |
  |                                                                                    
                                          |
  
>------------------------------------------------------------------------------------------------------------------------------|



Hello,

I am upgrading from Xalan 1.1 to Xalan 1.3 in a project that I am working
on, and have run across the following issues:

Due to the way that DOM objects are manipulated, I need to use Xerces to
control the DOM objects before a transformation.

I am now using a XalanTransformer with compiled stylesheets to do the
transformations.

In the past, I read XPath expressions from a configuration file (which also
contains unrelated arbitrary transformations,) created a basic stylesheet
for them, and then compiled them.  Later, I would do the transformation,
and check to see if the return value was true or false.  Now I think I want
to use the XPathEvaluator (which appears to be exactly what I needed.)

Do I face any unforseen issues by using a XercesParserLiaison to create a
XalanDocument from my Xerces document, and then passing that XalanDocument
into the



 XObjectPtr XPathEvaluator::evaluate (

                                  DOMSupport & domSupport,


                                  XalanNode * contextNode,


                                  const XPath & xpath,


                                  const XalanElement * namespaceNode = 0�)





method?

My expectations would be that the XObject would be an XBoolean output.

Thanks,

Anthony




Reply via email to