简体   繁体   中英

does javascript on iphone mobile safari support xpath?

does javascript on iphone mobile safari support xpath? I am using libxml2 to parse xhtml files in objective-c, but want to be able to change my parsing logic on the fly. Was considering using UIWebview's stringByEvaluatingJavaScriptFromString: method.

我看到3.0版具有document.evaluate https://developer.mozilla.org/en/DOM/document.evaluate这就是XPATH评估所需的全部内容。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM