This is a feature that has been requested fairly often, but has never been implemented. It's not really a part of any standard, so it's not on my plan for development.

If someone's interested in writing some code, we could perhaps find a place for it to live inside Xalan.

Dave

Tankel Ifat <[EMAIL PROTECTED]>




          Tankel Ifat <[EMAIL PROTECTED]>

          07/16/2002 05:06 AM



To: "'[email protected]'" <[email protected]>
cc: Ashkenazi Israel <[EMAIL PROTECTED]>, (bcc: David N Bertoni/Cambridge/IBM)
Subject: getting the xpath of a searched Node.

Hi!

I have the following problem I hope you can help me with.

I have few tags <condition> in my XML file.
Example:

      <a>
      <condition>1</condition>
      <b>
      <condition>2</condition>
      <b>
      </a>
I need to find all the <condition>s and perform some logic for every found node.
But after storing all of them in a list, I need to know their xpath.

How can I get the xpath of a searched Node?

Thanks in advance,
Ifat Tankel


      [EMAIL PROTECTED]

      Comverse
      Divisional Developer
      EMEA1 E7-General 3log

      03-6454768

<<inline: graycol.gif>>

<<inline: ecblank.gif>>

<<inline: pic18716.gif>>

Reply via email to