Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old February 15th, 2007, 04:55 PM
findus2007
Guest
 
Posts: n/a
Default Poor performance when mapping XML to Excel

Hi all,
I have got an XML file, which I produced by serializing an object, which
represents my data I want to be able to work with in Excel (Office 2003,
Interop, no VSTO).
When I do the mapping by looping over different branches in my XML and
calling:

cell.XPath.SetValue(map, myXPath, myNamespace, false);

everything works fine. But for large objects I noticed, that this mapping
time arises with each cell a little bit. For example with every 300 cells the
time seems to be multiplied by 2.

Is this behaviour correct? What can be done to overcome this issue?

I know, I can switch to column based mapping. But it has a lot of assumptions
(data as lists,..) which I cannot do with my multidimensional data.

Any help will be highly appreciated.
Thanks

 

Bookmarks

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles