My response for the jquery call will be in XML format as below
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<transactions>
<transaction>
<date>12/23/2013</date>// First element
<transaction>
<transaction>
<date>12/24/2013</date> // Second element
<transaction>
</transactions>
This will be the response formatted from java.
In success function for jquery
success: function(xmlData){
alert(xmlData) //I'm getting alert as above format
var xsl = // load my xsl format
if(window.ActiveXObject){
// For IE I'm using IE 8
xmlData.transformNode(xsl); // I'm getting 'object doesn't support this property or method'
}
}
please help me to resolve the above mentioned problem.
No comments:
Post a Comment