473,406 Members | 2,451 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Printing XML Formatted Report in Windows Application

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
4 3120
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

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

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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Rui Patinha | last post by:
hi 2 all, is there any way to update a table after printing a report after opening for view-only? (like a field "printed") or the best practice is to ask for confirmation after runing a print...
1
by: hlam | last post by:
After deploying the application and running it on an XP p.c. I get the message from Crystal Reports Viewer Window: Load Report Failed Here is what I've used: . Connecting to Sql Server 2000...
6
by: Shimon Sim | last post by:
Hi 1) Is it possible to force browser to open image in default windows application? That is what specifies in Folder Options for jpg extension. 2) Also if the 1) is possible is it possible to...
7
by: Daniel | last post by:
Hello! I am having a problem with a windows application that abnormally terminates itself. The application is a multi threaded .NET 1.1 application, and can briefly be described as follows: ...
4
by: Jx4 | last post by:
Hi, I've created a database where I have a form with clients information and I also generate a report that is based on different queries. What I would like to do is print the report that matches...
4
by: Peter Nimmo | last post by:
Hi, I am writting a windows application that I want to be able to act as if it where a Console application in certain circumstances, such as error logging. Whilst I have nearly got it, it...
3
by: idandush | last post by:
i made a windows application using c# , and using access and crystal report. i want to run the application on another computer , i took the build folder , and all the access files , and it wont work...
2
by: =?Utf-8?B?dmlzaHJ1dGg=?= | last post by:
Hi, I have 2 applications running, one Windows application project and the other windows services project. I want to call my Windows application in my windows services. I want to run them as...
1
pbala
by: pbala | last post by:
Hi, I created the windows application with Crystal Report 9.0 in .net 2003. While Deploying the Setup file I created the Merge Modules. I installed .net Framework 1.1 in that user system. After...
1
by: javariauet | last post by:
i have developed a windows application in C Sharp for maintaining student attendance through fingerprint identification.System has to generate daily attendance report automatically and upload it on...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.