Hi Nicholas...
Thanks for your help... but any change of some sample code? I am new to
..net and have been looking for a working solution on the net but I just
can't get it to work... its so annoying!
when i try it, either there is a problem about xmlresolver, or im trying to
create an abstract class, or something or another... im having nothing but
problems.
:-(
"Nicholas Paldino [.NET/C# MVP]" <ni**************@exisconsulting.com> wrote
in message news:es**************@TK2MSFTNGP12.phx.gbl...
Suzy,
If you have the XML in a string, then you can wrap that in a
StringReader class instance and then pass that XML to an XML document
instance. Also, you can load your transformation into an instance of the
XslTransform class. Once you have that, you can call one of the various
Transform overloads and pass your XmlDocument instance to it, transforming
it.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- ni**************@exisconsulting.com
"suzy" <me@nospam.com> wrote in message
news:OH**************@TK2MSFTNGP10.phx.gbl... i have a method which is return xml from a dataset using the
dataset.GetXml method.
can someone please post some example code of how i can transform this
xml using an xsl stylesheet?
i am only interested in the c# part of the code, not the xsl.
please note that my xml is coming from a method, not from a xml file.
thanks.