1

In my app I have a webview which will give a XML content after a long process of submission. I have to read the XML content of the web page. I tried using JavaScript to do this.

web.loadUrl("javascript:window.HTMLOUT.processHTML('<head>'+document.getElementsByTagName('html')[0]+'</head>');");

But for some device(browsers) its not calling the JavaScript function. Please help me to fix this.

Sniper
  • 2,412
  • 11
  • 44
  • 49

1 Answers1

0

Use xml parsing for parse an d view xml content if you are not familiar with that refer this tutorial http://www.androidhive.info/2011/11/android-xml-parsing-tutorial/

Ansar
  • 364
  • 3
  • 16