What is the fastest way to import a big chunk of xml to a node and its sub nodes in the DOM, using C

G

G. Tarazi

Hi




What is the fastest way to import a big chunk of xml to a node and its sub nodes in the DOM, using C# code or java script?




Currently I am using "replace chilled", but is there anything faster.




Thanks
 
S

Steve van Dongen [MSFT]

What is the fastest way to import a big chunk of xml to a node and its sub nodes in the DOM, using C# code or java script?

I doubt you'll see any difference calling replaceChild in one language
vs. another. In any case, my usual answer to this question is try it
and see for yourself. What's faster in one specific scenario may not
be in another.
Currently I am using "replace chilled", but is there anything faster.

Use whichever makes sense for your scenario: replaceChild,
insertBefore, appendChild.

See here:
<URL:
http://groups.google.com/[email protected]
/>

Regards,
Steve
 
G

G. Tarazi

Thanks for the response, I will be doing more tests this week, I am thinking
to split the main data source (the one that I am coping too) to multiple
secondary data sources, and to bind the form sections directly to each of
those data sources (instead of coping the data from them to the main data
source), and then use multi threading to load all the secondary sources at
one shot. I guess this will be faster; I will try other ideas too.



sub nodes in the DOM, using C# code or java script?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top