Hi again!
I have this javascript code
function displayResult2(id)
{
xml=loadXMLDoc("anna.xml");
xsl=loadXMLDoc("c011.xsl");
// code for IE
if (window.ActiveXObject)
{
ex=xml.transformNode(xsl);
document.getElementById("right").innerHTML=ex;
}
// code for Mozilla, Firefox, Opera, etc.
else if (document.implementation && document.implementation.createDocument)
{
var xsltProcessor=new XSLTProcessor();
xsltProcessor.importStylesheet(xsl);
resultDocument = xsltProcessor.transformToFragment(xml,document);
document.getElementById("right").appendChild(resultDocument);
}
}
and I want to pass the variable id at the c011.xsl (???)
after that.. how c011.xsl can recognize that variable?
any help would be appreciated :)