Objectif C, une question sur XPath
-
27-10-2019 - |
Question
<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>
J'ai ce xml .. Comment obtenir la valeur de TOPIC_TITLE en utilisant XPath?
La solution
/methodResponse
/params
/param
/value
/struct
/member[name='topic_title']
/value
/string
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow