Thursday, 14 January 2016

XML : Display XML with XLST transform in WebBrowser in Windows Phone 8/8.1

I have an XML document with the XSLT transform document (included in the XML, but I may pull it out if needed). I need to display it in the WebBrowser component, but if I submit the document by calling

  WebBrowser.NavigateToString(myXmlDocument)    

it displays an incorrect content. I tried to convert the document using XDocument and XslCompiledTransform, but the latter is unavailable in Windows Phone 8 SDK. Is there some way to work around this and to make the transform, or to display the content correctly in the WebBrowser control?

No comments:

Post a Comment