N
n33470
We're in the process of migrating our projects to use VS2005 from
VS2003. We have a web page that uses the XML WebControl
(System.Web.UI.WebControls.Xml) to perform an XSLT tranformation by
using the property "Transform" of the webcontrol. Here is a sample:
xmlMessage.Transform = _app.Cache.UserMessagesXsltUser;
'xmlMessage' is the XML Web Control, and
'_app.Cache.UserMessagesXsltUser' is the transformation to apply.
In .NET 1.1, the class of the transformation was XslTransform.
In .NET 2.0 this class has been deprecated by the new
XslCompiledTransform class. However, the Xml Web control's
'Transform' property still takes an object of type 'XslTransform',
instead of the new class of 'XslCompiledTransform'.
How do I migrate the Xml web control's Transform property in .NET 2.0?
Is there a new version of the Xml Web Control with a Transform property
that takes an object of type XslCompiledTransform?
Thanks!
--steve
VS2003. We have a web page that uses the XML WebControl
(System.Web.UI.WebControls.Xml) to perform an XSLT tranformation by
using the property "Transform" of the webcontrol. Here is a sample:
xmlMessage.Transform = _app.Cache.UserMessagesXsltUser;
'xmlMessage' is the XML Web Control, and
'_app.Cache.UserMessagesXsltUser' is the transformation to apply.
In .NET 1.1, the class of the transformation was XslTransform.
In .NET 2.0 this class has been deprecated by the new
XslCompiledTransform class. However, the Xml Web control's
'Transform' property still takes an object of type 'XslTransform',
instead of the new class of 'XslCompiledTransform'.
How do I migrate the Xml web control's Transform property in .NET 2.0?
Is there a new version of the Xml Web Control with a Transform property
that takes an object of type XslCompiledTransform?
Thanks!
--steve