Obiettivo C, una domanda su XPath
-
27-10-2019 - |
Domanda
<methodResponse>
<params>
<param>
<value>
<struct>
<member>
<name>topic_id</name>
<value>
<string>102</string>
</value>
</member>
<member>
<name>topic_title</name>
<value>
<string>Login test</string>
</value>
</member>
</struct>
</value>
</param>
</params>
</methodResponse>
Ho questo XML .. Come ottenere il valore di Topic_Title usando XPath?
Soluzione
/methodResponse
/params
/param
/value
/struct
/member[name='topic_title']
/value
/string
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow