Disons que j'ai xml comme ceci:Comment sélectionner un nœud sans attributs en utilisant xpath?
<root>
<node light="somevalue">message1</node>
<node dark="somevalue">message2</node>
<node>message3</node>
</root>
Avec l'utilisation de XPath j'ai besoin de "message3".
Est-ce que quelqu'un sait comment je peux y parvenir?
double possible de [XPath: Comment sélectionner les nœuds qui ont pas d'attributs] (http://stackoverflow.com/questions/1323755/xpath-how-to-select-nodes-which-have-no -attributes) – Smandoli