PC Review


Reply
Thread Tools Rate Thread

Creating Excel document from Dataset and XML ?

 
 
Paul
Guest
Posts: n/a
 
      12th Oct 2003
Hi all

Arggghhh...........
The problem.....I want the user to be able to create an excel document and
name particular cells in the document where they want the data to be placed
and then save this out of an XML file or Excel Template file.

Next I need to convert a dataset to xml and try and transform this data into
the users xml file..........i've seen a few things on this but havent had
much success...

basically

1. template file in xml with named cells
2. xml data payload
3. xsl style sheet to blend them all together

please if someone has an example then please respond. I know there a few
applications out there that does this, but hey it cant be that hard, just
not p to scracth with my xsl stuff.

thanks


 
Reply With Quote
 
 
 
 
Ken Tucker [MVP]
Guest
Posts: n/a
 
      12th Oct 2003
Hi,

Maybe this will help.
http://support.microsoft.com/default...b;en-us;307021

Ken
-----------
"Paul" <(E-Mail Removed)> wrote in message
news:eZpap%(E-Mail Removed)...
> Hi all
>
> Arggghhh...........
> The problem.....I want the user to be able to create an excel document and
> name particular cells in the document where they want the data to be

placed
> and then save this out of an XML file or Excel Template file.
>
> Next I need to convert a dataset to xml and try and transform this data

into
> the users xml file..........i've seen a few things on this but havent had
> much success...
>
> basically
>
> 1. template file in xml with named cells
> 2. xml data payload
> 3. xsl style sheet to blend them all together
>
> please if someone has an example then please respond. I know there a few
> applications out there that does this, but hey it cant be that hard, just
> not p to scracth with my xsl stuff.
>
> thanks
>
>



 
Reply With Quote
 
Paul
Guest
Posts: n/a
 
      13th Oct 2003
The example just goes through creating an excel sheet using a XSL sheet
which obviously at a user level they would have no idea of creating,
basicaly I want the user to populate an excel file with pointers to where
they wan the data and to embed the dataset into the excel sheet and save
this out.

Thanks
Paul

"Ken Tucker [MVP]" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> Hi,
>
> Maybe this will help.
> http://support.microsoft.com/default...b;en-us;307021
>
> Ken
> -----------
> "Paul" <(E-Mail Removed)> wrote in message
> news:eZpap%(E-Mail Removed)...
> > Hi all
> >
> > Arggghhh...........
> > The problem.....I want the user to be able to create an excel document

and
> > name particular cells in the document where they want the data to be

> placed
> > and then save this out of an XML file or Excel Template file.
> >
> > Next I need to convert a dataset to xml and try and transform this data

> into
> > the users xml file..........i've seen a few things on this but havent

had
> > much success...
> >
> > basically
> >
> > 1. template file in xml with named cells
> > 2. xml data payload
> > 3. xsl style sheet to blend them all together
> >
> > please if someone has an example then please respond. I know there a few
> > applications out there that does this, but hey it cant be that hard,

just
> > not p to scracth with my xsl stuff.
> >
> > thanks
> >
> >

>
>



 
Reply With Quote
 
Fergus Cooney
Guest
Posts: n/a
 
      13th Oct 2003
Hi Paul,

!! ... hey it cant be that hard ...

Are you sure about that? What sort of Xml does Excel produce - nice clean
economical stuff or reams of God-know-what?

Another alternative that might be worth investigating is to use the
XmlDocument class and do it programmatically.

Regards,
Fergus


 
Reply With Quote
 
Paul
Guest
Posts: n/a
 
      13th Oct 2003
lol,

Well yeah the easy way is do it programmatically but I need the ability for
a user to create a template file, so that they can setup the font details,
page headers etc. We used ot do it by spawning excel but it just seems to
dangerous to do this on the web server.


"Fergus Cooney" <filter-(E-Mail Removed)> wrote in message
news:%23QPHs$(E-Mail Removed)...
> Hi Paul,
>
> !! ... hey it cant be that hard ...
>
> Are you sure about that? What sort of Xml does Excel produce - nice

clean
> economical stuff or reams of God-know-what?
>
> Another alternative that might be worth investigating is to use the
> XmlDocument class and do it programmatically.
>
> Regards,
> Fergus
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
creating an dataset by using excel file madhu sudhan Microsoft C# .NET 0 24th Dec 2006 03:24 PM
Creating a new document from a multiple paged Excel document =?Utf-8?B?TGlzYQ==?= Microsoft Excel Misc 2 29th Sep 2004 04:15 PM
when creating an xml document from a dataset Tom Vukovich Microsoft ADO .NET 2 2nd Apr 2004 04:40 AM
Creating Excel document from Dataset and XML ? Paul Microsoft Dot NET Framework 4 13th Oct 2003 04:05 PM
Creating Excel document from Dataset and XML ? Paul Microsoft ASP .NET 4 13th Oct 2003 04:05 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:45 PM.