Transform xml to *.txt in C# app.

G

Guest

HowHi all
I want to transform data in xml files to *.txt in a C# application. I have
some data in Xml files and want to used them in a 3D tool to print the
subject
I know little about XSLT, so can I in my C# appliction with a XSLT file get
the data in notepad format. I know how to read and write *.doc and Xml files
but Notepath format In C#? How
Best Regard
Kim S.
 
N

Nicholas Paldino [.NET/C# MVP]

Kim,

There is no such thing as "notepad format". Rather, those are just text
files.

Also, technically, XML is 99.999% of the time (I'm exaggerating) encoded
as text, so you can open XML files in Notepad as well.

If you have the stylesheet, you can use the XslCompiledTransform class
in the System.Xml.Xsl namespace to transform your XML to a text file.
 

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

Top