Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > using xmlwriter to create attributes for an excel tag

Reply
Thread Tools

using xmlwriter to create attributes for an excel tag

 
 
=?Utf-8?B?UGF1bA==?=
Guest
Posts: n/a
 
      11-07-2006
Hi I am trying to create the attributes shown below using the xmlwriter, just
wondering if anyone has any ideas how to accomplish this? I am creating a
xml file in a dot.net web application that will be opened with Excel on
client machines.

<Workbook xmlns="urn:schemas-microsoft-comffice:spreadsheet"
xmlns="urn:schemas-microsoft-comfficeffice"
xmlns="urn:schemas-microsoft-comffice:excel"
xmlns:ss="urn:schemas-microsoft-comffice:spreadsheet"
xmlns:html="http://www.w3.org/TR/REC-html40">
thanks.
--
Paul G
Software engineer.
 
Reply With Quote
 
 
 
 
Olaf Rabbachin
Guest
Posts: n/a
 
      11-07-2006
Hi,

Paul wrote:

> Hi I am trying to create the attributes shown below using the xmlwriter, just
> wondering if anyone has any ideas how to accomplish this? I am creating a
> xml file in a dot.net web application that will be opened with Excel on
> client machines.
>
> <Workbook xmlns="urn:schemas-microsoft-comffice:spreadsheet"
> xmlns="urn:schemas-microsoft-comfficeffice"
> xmlns="urn:schemas-microsoft-comffice:excel"
> xmlns:ss="urn:schemas-microsoft-comffice:spreadsheet"
> xmlns:html="http://www.w3.org/TR/REC-html40">


haven't yet played around with Excel-files being created using XML, but,
just as an alternative, you can create XLS-files from plain HTML as well.
That is, simply stream an HTML-table down to your client. Excel will take
over the formatting as well. This way, along with a sqlDataReader, I'm
building Excel-Sheets from DB-queries.
I'll have to try the XML-way though, too ...

Cheers,
Olaf
--
My .02: www.Resources.IntuiDev.com
 
Reply With Quote
 
 
 
Reply

Thread Tools

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
Problem with Excel reports ::::Excel 2003 Migration To Excel 2007 =?Utf-8?B?c2hhc2hhbmsga3Vsa2Fybmk=?= ASP .Net 15 10-24-2007 01:34 PM
SAX XMLReader, XMLFilter, ContentHandler and XMLWriter question Jeff Calico XML 2 02-22-2006 06:13 PM
how do u invoke Tag b's Tag Handler from within Tag a's tag Handler? shruds Java 1 01-27-2006 03:00 AM
Rules for using HTML tag attributes in ASP tags? Randall Parker ASP .Net 1 10-26-2005 11:32 AM
writing out schema attribute in xmlwriter Stu ASP .Net Web Services 0 03-30-2005 02:17 PM



Advertisments