[R] How to make XML support Expat?

Johannes Graumann johannes_graumann at web.de
Sun Oct 25 13:54:13 CET 2009


On Sunday 25 October 2009 00:38:54 you wrote:
> xmlEventParse() is intended for handling files that we don't want to keep
>  in memory. The branches parameter does make it easier to deal with
>  sub-trees as the document is being parsed.  And within these branches one
>  can use XPath.
Very interesting. I'll check it out.

> So how big are the files you are working with?  Suprisingly, reading
> 70Mb files into memory and doing XPath can be quite fast.
I need to access repeatedly data in multiple files larger 600 MB ... quite the 
fun.

One more question: is it possible to run xmlEventParse and whenever a given 
tag is hit get the bit offset of the tag for indexing purposes?

Thanks for any hints,

Joh
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20091025/6e99e7e3/attachment-0002.bin>


More information about the R-help mailing list