.NET 2.0 use of Xml.Transform in WebControl

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 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.

How do I migrate the Xml web control's Transform property in .NET 2.0?

Thanks!

--steve
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top