Home All Groups Group Topic Archive Search About

Printing XML Formatted Report in Windows Application

Author
2 Nov 2006 8:34 PM
.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

Author
3 Nov 2006 12:30 PM
Rick
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


Show quoteHide quote
".NETUser" <takal***@gmail.com> wrote in message
news:1162499644.655639.143370@h54g2000cwb.googlegroups.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
>
Author
3 Nov 2006 2:16 PM
.NETUser
Rick wrote:
Show quoteHide quote
> 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" <takal***@gmail.com> wrote in message
> news:1162499644.655639.143370@h54g2000cwb.googlegroups.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.
Author
3 Nov 2006 11:57 PM
Rick
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


Show quoteHide quote
".NETUser" <takal***@gmail.com> wrote in message
news:1162563405.495948.255750@i42g2000cwa.googlegroups.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" <takal***@gmail.com> wrote in message
>> news:1162499644.655639.143370@h54g2000cwb.googlegroups.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.
>
Author
6 Nov 2006 2:21 PM
.NETUser
Rick wrote:
Show quoteHide quote
> 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" <takal***@gmail.com> wrote in message
> news:1162563405.495948.255750@i42g2000cwa.googlegroups.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" <takal***@gmail.com> wrote in message
> >> news:1162499644.655639.143370@h54g2000cwb.googlegroups.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.