Friday, 2 January 2015

how to dynamically check the given content is in XML format or not using jquery or java script?



I have a jquery code which generates a string containing XML code. Now I want to display this XML code on html,the same way when a file with XML code is opened in browser. If XML code is not in proper XML format, then it should show the same error which browser displays.


No comments:

Post a Comment