>===== Original Message From [EMAIL PROTECTED] =====
>> That is really surprising! I don't understand why it doesn't work for me
>> either! Has anyone been able to do something similar to what I'm
>intending to
>> do using xalan 1.3 ? If yes, can you please help me out? :)
>
>As I said, that version is very old, and I don't know how many people are
>still using it.

I don't know how to see the type of Exception being thrown. I'm getting ane 
exception while executing the following piece of code.

cout << "getting RefList now.. with xpath=" << xpath << endl;
const NodeRefList       theResult =
          theEvaluator.selectNodeList(theDOMSupport,
                                      theContextNode,
                                      XalanDOMString(xpath.c_str()).c_str(),
                                      theDocument->getDocumentElement());
        cout << "Length of list is: " << theResult.getLength() << endl;

<... some code...  >

 catch(...)
      {
        cerr << "Exception caught!" << endl;
      }


- the  first cout prints, but then I get the 'Exception caught!' message.
Is there anyway I can get the type (& reason! :)) of this exception?
Thanks.. Kaushal

Reply via email to