Printing XML Formatted Report in Windows Application

  • Thread starter Thread starter .NETUser
  • Start date Start date
N

.NETUser

Hello,
I am doing research on printing in VB.NET and I would like to know
how I can use XML to format three different reports. I'm new to this,
so I don't know how to include this in my .NET code. Would someone
point to a location where I can get more information?

Thanks
 
Your questions doesn't make sense as I understand it.

Perhaphs you have an xml report and you want to use xslt to transform it
into another form like html, excel spreadsheet or xsl-fo for pdf? If this is
the case you need to read up on xslt. Once you have that doing the
transformation in .NET is trivial.

Rick
 
Rick said:
Your questions doesn't make sense as I understand it.

Perhaphs you have an xml report and you want to use xslt to transform it
into another form like html, excel spreadsheet or xsl-fo for pdf? If this is
the case you need to read up on xslt. Once you have that doing the
transformation in .NET is trivial.

Rick

Sorry if I don't make sense. I'm trying to complete an assignment that
my boss gave me to do and I don't understand it. Basically, I'm writing
an application that will output at least seven reports in different
formats, and I want to create something like a stylesheet that can be
modified for each report. In Web, this would be the equivalent of a
..css file. What is the equivalent for a Windows.NET application?
Thanks.
 
Yes, I think you would want to wite an XSLT file to do the transformations
into the various types of reports.

You can write one XSLT and pass in a parameter to designate which type of
output you want.

XSLT is well documented so you can just google for totorials on this
subject.

The .NET part is trivial; just look for "Transform" in the help file.You
will specify the input xml file, the xslt file that will perform the
transformation and you will get your results in a stream, file or some other
way.

If you are going to be playing with XML and XSLT you should download the
free version of XMLSpy. It is an excellent tool with great intellisense
when you are typing a stylesheet or xml file. And, you can't beet the
price.

Good luck,

Rick
 
Rick said:
Yes, I think you would want to wite an XSLT file to do the transformations
into the various types of reports.

You can write one XSLT and pass in a parameter to designate which type of
output you want.

XSLT is well documented so you can just google for totorials on this
subject.

The .NET part is trivial; just look for "Transform" in the help file.You
will specify the input xml file, the xslt file that will perform the
transformation and you will get your results in a stream, file or some other
way.

If you are going to be playing with XML and XSLT you should download the
free version of XMLSpy. It is an excellent tool with great intellisense
when you are typing a stylesheet or xml file. And, you can't beet the
price.

Good luck,

Rick

Thank you so much for your time and wisdom. You've helped me greatly.
 
Back
Top