in reply to Re: Extraction of value with XMLLIB
in thread Extraction of value with XMLLIB

Hi All, Thanks for the information "count(preceding-sibling)" helped , can have the feature available in LibXML Also is it possible to add the NAME also. Once Again thanks

Replies are listed 'Best First'.
Re^3: Extraction of value with XMLLIB
by choroba (Cardinal) on May 06, 2015 at 12:16 UTC
    I don't understand. Are you requesting the count feature to exist in LibXML? My first example shows it exists already.

    There was no NAME in your original question, only SNAME. There's only one SNAME per CLT, so it's not clear what output you want.

    لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ
      I was not aware of "count(preceding-sibling)" function ,your code just worked fine. I tried google what are the different option available in LibXML but could not find can u help me on that. If wanted the output some thing like VAL1,NAME,0 VAL1,NAME1,0 VAL2,NAME,0 VAL2,NAME1,0