Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > High Performance Xml parser

Reply
Thread Tools

High Performance Xml parser

 
 
rony_16
Guest
Posts: n/a
 
      11-27-2006
Hi,
I am looking for component which allows me to parse my xml file.
the reason i am asking this, is because my xml files are huge it can
reach as far as 1GB more or less.
the time to parse such a file is something like 5 Hours.
Now i am using the XmlRead, XmlNode ... (I do not load the file to the
memory).
Can you suggest better components to use?

** I tried SAX but i couldn't understand how it works, because there is
no examples for .net , and very bad documentation.
p.s : I am writing in C#.

Regards, Rony

 
Reply With Quote
 
 
 
 
=?Utf-8?B?Q2lhcmFuIE8nJ0Rvbm5lbGw=?=
Guest
Posts: n/a
 
      11-27-2006
An XML text reader will be the fastest way to read through it I think but its
going to be slow anyway to move through that much XML, I would suggest
getting them cut up at source and if that isnt possible then explain what you
want to do with the information in them for a more detailed suggestion.

HTH

Ciaran O'Donnell
http://wannabedeveloper.spaces.live.com

"rony_16" wrote:

> Hi,
> I am looking for component which allows me to parse my xml file.
> the reason i am asking this, is because my xml files are huge it can
> reach as far as 1GB more or less.
> the time to parse such a file is something like 5 Hours.
> Now i am using the XmlRead, XmlNode ... (I do not load the file to the
> memory).
> Can you suggest better components to use?
>
> ** I tried SAX but i couldn't understand how it works, because there is
> no examples for .net , and very bad documentation.
> p.s : I am writing in C#.
>
> Regards, Rony
>
>

 
Reply With Quote
 
 
 
 
Rad [Visual C# MVP]
Guest
Posts: n/a
 
      11-27-2006
Hey Rony,

Wow! 1 GB XML? That's a lot of XML! Is it possible to try and trim
down the XML files at source to be more manageable? I'm not sure you
can find a parser faster than the XML reader, and if you do I doubt it
will be significantly faster.

On 27 Nov 2006 09:14:39 -0800, "rony_16" <>
wrote:

>Hi,
>I am looking for component which allows me to parse my xml file.
>the reason i am asking this, is because my xml files are huge it can
>reach as far as 1GB more or less.
>the time to parse such a file is something like 5 Hours.
>Now i am using the XmlRead, XmlNode ... (I do not load the file to the
>memory).
>Can you suggest better components to use?
>
>** I tried SAX but i couldn't understand how it works, because there is
>no examples for .net , and very bad documentation.
>p.s : I am writing in C#.
>
>Regards, Rony

--

Bits.Bytes.
http://bytes.thinkersroom.com
 
Reply With Quote
 
bruce barker \(sqlwork.com\)
Guest
Posts: n/a
 
      11-27-2006
the XmlReader is a forward only cursor pretty simular to Sax.

-- bruce (sqlwork.com)


"rony_16" <> wrote in message
news: oups.com...
> Hi,
> I am looking for component which allows me to parse my xml file.
> the reason i am asking this, is because my xml files are huge it can
> reach as far as 1GB more or less.
> the time to parse such a file is something like 5 Hours.
> Now i am using the XmlRead, XmlNode ... (I do not load the file to the
> memory).
> Can you suggest better components to use?
>
> ** I tried SAX but i couldn't understand how it works, because there is
> no examples for .net , and very bad documentation.
> p.s : I am writing in C#.
>
> Regards, Rony
>



 
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
High Performance Xml parser rony XML 3 11-28-2006 07:32 AM
XML::Parser Installation error: XML-Parser-2.34 Sean Perl Misc 3 10-03-2006 01:23 AM
XML::Parser Installation error: XML-Parser-2.34 Sean Perl Misc 0 10-02-2006 06:20 PM
Different results parsing a XML file with XML::Simple (XML::Sax vs. XML::Parser) Erik Wasser Perl Misc 5 03-05-2006 10:09 PM
XML-Parser to XML-Parser communication (encoding issues?) arne Perl Misc 0 09-13-2005 12:53 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57