Howdy
I have an xslt that accepts parameters. In my code I set these paramaters
and pass them to the xml control to transform and display the xml according
to the xslt.
When I throw the form directly into the response.write it shows my
paramaters just fine. Since I altered the code to use the Xml Control, these
parameters are not received by the Xslt upon transformation via the xml
control.
Here is my code.
'*CTE00 - Throw the Document into a xml navigator.
'*************************************************
NavApproveCondition = DocApproveCondition.CreateNavigator()
'*CTE00 - Load up the Xslt form.
'*******************************
RsvApproveCondition.Credentials = CredentialCache.DefaultCredentials
XslApproveCondition.Load("C:\Inetpub\wwwroot\Credi tEase\xml\ApproveConditions.xslt", RsvApproveCondition)
'*CTE00 - Set the Xslt parmaters.
'********************************
PrmApproveCondition.AddParam("Application_ID", "", Application_ID)
PrmApproveCondition.AddParam("Main_Name", "", GetMain_Name)
PrmApproveCondition.AddParam("Mess", "", Mess)
'*CTE00 - Splash the form onto the browser canvas.
'*************************************************
'XslApproveCondition.Transform(NavApproveCondition ,
PrmApproveCondition, Response.OutputStream)
XmlControl.TransformArgumentList = PrmApproveCondition
XmlControl.Document = DocApproveCondition
XmlControl.Transform = XslApproveCondition
Is there a known issue with XMlControl and paramaters or am I doing
something wrong?
Much thanks
cornelius.