Applying XSLT to an XML coming from a Webservice i

2019-08-03 07:17发布

问题:

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