function xmlTranform(){
var xml=file.xml;
var xsl=file.xsl;
if(window.ActiveXObject)
{
ex=xml.transformNode(xsl);
jDivObj.append(ex);
}else if(document.implementation && document.implementation.createDocument){
var xsltProcessor=new XSLTProcessor();
xsltProcessor.importStylesheet(xsl);
var resultDocument=xsltProcessor.transformToFragment(xml,document);
var i=resultDocument.firstChild.innerHTML;
$("#testDiv").html(i);
}
tb_show("xslt", "#TB_inline?&height=485&width=750&inlineId=testDiv","");// thickbox overlay
$("#testDiv").empty();
}
Tuesday, April 5, 2011
XSLT on Client
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment