V
virgul
Hi,
I try to transform my infopath form with a Xslt with jscript and after
I want to print it!
My Jscript code:
function CTRL330_5::OnClick(eventObj)
{
var XMLFileDOM = XDocument. ?????????
//Get the transform that is stored as a secondary data source.
var XSLTFileDOM = XDocument.GetDOM("XSLTFile");
//Transform XMLFile by using the style sheet that is named XSLTFile.
var TransformedDOM = new ActiveXObject("MSXML2.DomDocument.5.0");
TransformedDOM.async = false;
TransformedDOM.validateOnParse = true;
TransformedDOM.loadXML( XMLFileDOM.transformNode(XSLTFileDOM));
}
But I don't know how to select my current form for do the
transformation. Has anybody an idea? Is it possible to do that? My xslt
is a rtf view make with Altova Stylevision.
Just one things any body know which is the syntax for print the current
form.
Thanks all
I hope that is possible!
Thierry
++
I try to transform my infopath form with a Xslt with jscript and after
I want to print it!
My Jscript code:
function CTRL330_5::OnClick(eventObj)
{
var XMLFileDOM = XDocument. ?????????
//Get the transform that is stored as a secondary data source.
var XSLTFileDOM = XDocument.GetDOM("XSLTFile");
//Transform XMLFile by using the style sheet that is named XSLTFile.
var TransformedDOM = new ActiveXObject("MSXML2.DomDocument.5.0");
TransformedDOM.async = false;
TransformedDOM.validateOnParse = true;
TransformedDOM.loadXML( XMLFileDOM.transformNode(XSLTFileDOM));
}
But I don't know how to select my current form for do the
transformation. Has anybody an idea? Is it possible to do that? My xslt
is a rtf view make with Altova Stylevision.
Just one things any body know which is the syntax for print the current
form.
Thanks all
I hope that is possible!
Thierry
++