By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,524 Members | 1,589 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,524 IT Pros & Developers. It's quick & easy.

Printing XML Formatted Report in Windows Application

P: n/a
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

Nov 2 '06 #1
Share this Question
Share on Google+
4 Replies


P: n/a
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
".NETUser" <ta******@gmail.comwrote in message
news:11**********************@h54g2000cwb.googlegr oups.com...
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

Nov 3 '06 #2

P: n/a

Rick wrote:
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
".NETUser" <ta******@gmail.comwrote in message
news:11**********************@h54g2000cwb.googlegr oups.com...
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
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.

Nov 3 '06 #3

P: n/a
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
".NETUser" <ta******@gmail.comwrote in message
news:11**********************@i42g2000cwa.googlegr oups.com...
>
Rick wrote:
>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
".NETUser" <ta******@gmail.comwrote in message
news:11**********************@h54g2000cwb.googleg roups.com...
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

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.

Nov 3 '06 #4

P: n/a

Rick wrote:
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
".NETUser" <ta******@gmail.comwrote in message
news:11**********************@i42g2000cwa.googlegr oups.com...

Rick wrote:
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
".NETUser" <ta******@gmail.comwrote in message
news:11**********************@h54g2000cwb.googlegr oups.com...
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
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.
Thank you so much for your time and wisdom. You've helped me greatly.

Nov 6 '06 #5

This discussion thread is closed

Replies have been disabled for this discussion.