Linq a viable solution for XML?

  • Thread starter Thread starter DBC User
  • Start date Start date
D

DBC User

So far all the examples I have seen been working with simple XML
files. Just curious, is Linqq a viable solution for handling a large
XML file, when I say large, it means it has almost 2K+ nodes in it and
it keep growing as well?
Thanks.
 
DBC User said:
So far all the examples I have seen been working with simple XML
files. Just curious, is Linqq a viable solution for handling a large
XML file, when I say large, it means it has almost 2K+ nodes in it and
it keep growing as well?

I believe LINQ to XML does support some streaming scenarios, but I
don't know the details of it. I suggest you find specific LINQ to XML
tutorials, pages and books.

2K nodes doesn't sound *very* large, to be honest - I think of "large"
as "too big to reasonably hold in memory".
 
I believe LINQ to XML does support some streaming scenarios, but I
don't know the details of it. I suggest you find specific LINQ to XML
tutorials, pages and books.

2K nodes doesn't sound *very* large, to be honest - I think of "large"
as "too big to reasonably hold in memory".

Thanks for the info.
 
DBC said:
So far all the examples I have seen been working with simple XML
files. Just curious, is Linqq a viable solution for handling a large
XML file, when I say large, it means it has almost 2K+ nodes in it and
it keep growing as well?

It should be fine.

The reason you usually see small XML in examples is purely practical.

10 lines of english + 10000 lines of XML + 10 lines
of C# will annoy many readers.

Arne
 

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

Back
Top