[xml] Question about xmlGetNodePath()



Hello,

I'm having problems with xmlGetNodePath() function. If I request the
path of a text node I get "xpath_expression_ending_with_/text()[INDEX]"
where INDEX marks the position of the node counting all nodes (including
non text). This is easily reproducible if you search a conrete text path
and then print the paths of found nodes. They are different. 

Is this ok? Maybe I've missed something....

Thank you.

-- 
Kike Fernandez <sisfetek si ehu es>
IXA Taldea




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]