Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > XML > How to speed up XML reading

Reply
Thread Tools

How to speed up XML reading

 
 
Joe Kesselman
Guest
Posts: n/a
 
      09-20-2012
On 9/16/2012 2:05 PM, Ramon F Herrera wrote:
> Following a previous advice of yours, I looked into it. It seems that
> Xalan has reached a dead end. It won't even compile on a regular Linux
> box.


The C++ version of Xalan has lost most of its contributors, agreed. The
Java version is still alive and kicking, though not as actively under
development as it was when IBM was donating lots of manhours to it.

I'm not sure whether there's a C++ version of Saxon; if so that would
also be worth looking at.

--
Joe Kesselman,
http://www.love-song-productions.com...lam/index.html

{} ASCII Ribbon Campaign | "may'ron DaroQbe'chugh vaj bIrIQbej" --
/\ Stamp out HTML mail! | "Put down the squeezebox & nobody gets hurt."
 
Reply With Quote
 
 
 
 
shivers.paul@yahoo.co.uk
Guest
Posts: n/a
 
      09-21-2012
On Tuesday, September 11, 2012 7:20:21 PM UTC+1, Ramon F Herrera wrote:
> Tools used:
>
> C++
>
> Xerces-C
>
> XQilla
>
> Developed under Linux, ported to Windows
>
>
>
>
>
> A very important lesson that I learned follows. Xerces implements a
>
> reasonably/very fast XPath retrieval BUT it does so at the expense of
>
> flexibility. The only type of XPath retrieval supported by Xerces is
>
> the MINIMAL one:
>
>
>
> string neededVariable = XPath("/this/is/the/variable/that/i/need");
>
>
>
> If the path contains any character like "[", "@", "=", etc. I must
>
> resort to XQilla, which is wonderful (a LOT easier to code than pure
>
> Xerces), but as slow as molasses in cold weather:
>
>
>
> string someOtherVar = XPath("/table/joint/ancestor::table/
>
> @titledetail");
>
>
>
> After running some benchmarks I have concluded that my best option is
>
> to use a combination of the 2 XPath engines: Xerces for the "easy"
>
> stuff and Xqilla for the more complex.
>
>
>
> -Ramon


Have you looked at liquid xml c++ tool? (http://www.liquid-technologies.com/x...ma-to-cpp.aspx)
 
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
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
UnauthorizedAccessException when reading XML files (no problem when reading other file-types) blabla120@gmx.net ASP .Net 0 09-15-2006 02:08 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
Reported Wireless speed w/ repeater 7-9x Measured Speed Lance Wireless Networking 0 10-31-2004 09:31 PM
speed speed speed a.metselaar Computer Support 14 12-30-2003 03:34 AM



Advertisments