well on page load i have a cfxml which is building an xml
Document, xmlDoc after the page loads user might want to add new
elements to that object and at the end i would like to transform
that xmlDoc to html in an Iframe....
i guess i didnt make it clear... anyway i need somthing like
function getXMLDoc()
{
return <cfoutput>#xmlDoc#</cfoutput>;
}
in javascript to be able to do this in the iframe
<script>
var theXml = window.parent.getXMLDoc();
//var theXml = window.parent.xmlDoc;
var theXsl = new ActiveXObject("Microsoft.XMLDOM")
theXsl.async = false;
theXsl.load("logistique.xsl")// Transform
document.write(theXml.transformNode(theXsl));
</script>