Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

number of lines

Status
Not open for further replies.

castali

Programmer
Jan 26, 2004
24
DE
how many line per xml files ? for searching datas ,handling ....

1000, 10 000 ?

thank you
 
The limit of an XML file is not measured in lines. The size limit depends on the file system. An XML file is just like a plain text file and can be quite large. Having said that, there are 2 ways to read an XML file: DOM and SAX. In DOM, the entire XML file is loaded into memory and usually requires 10 times more RAM than the size of the file. This is great for smaller files say 1 MB or less because DOM is easier to use and provides more functionality. SAX is designed for large files. It's very fast compared to DOM for large files and requires a lot less memory. The downside is that you have to do more programming to use it and it provides sequential access (you always start reading at the beginning of the file).
 
SAX ... ok I must ... If I can use SAX with .NET

thank you !!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top