Re: [xml] Raw parsing an XML file or via xmlReader?



Hello,

Hello Ricky,

[snip]
- The file may reach a size of 200KBytes..

Questions: 
- Should I use raw parsing (as in the examples on the 
tutorial) or use xmlReader?
- When creating the file, should I use xmlWritter?

If you don't need anything special, use "raw parsing". It is simple and
the file size is no problem. I have made some tests here and on a
today's machine, libxml2 parsed a 4MiB File in less than 5s.

Best regards
        Andreas
-- 
Andreas Tscharner                          andreas tscharner metromec ch
------------------------------------------------------------------------
And the beast shall come forth surrounded by a roiling cloud of
vengeance. The house of the unbelievers shall be razed and they shall be
scorched to the earth. Their tags shall blink until the end of days.
                                            -- The Book of Mozilla 12:10




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]