开发者

Objective C, A Question about xpath

<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>
</method开发者_运维知识库Response>

I have this xml.. How to get the value of topic_title using xpath?


/methodResponse
   /params
      /param
         /value
            /struct
              /member[name='topic_title']
                 /value
                    /string
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜