Applying XSLT to an XML coming from a Webservice in iOS

夙愿已清 提交于 2019-12-11 05:14:58

问题


In my iPAD application, I get an XML from a webservice.I use NSURL connection to call the Webservice and get Data from it. I usually parse the XML using NSXMLParser and display the data on a UITableView.

But due to a requirement I need to get the XML and apply and XSLT on it and display it on a UIWebView. I know the basics of applying an XSLT to an XML and displaying it. However, how would I do it dynamically in my code?

It would be great if someone could help me with this.


回答1:


you may use libxslt - see here for more info - Version of XSLT in iPhone



来源:https://stackoverflow.com/questions/7895157/applying-xslt-to-an-xml-coming-from-a-webservice-in-ios

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!