I found the source of the error, in my XML document there are some costume
tags such us 
<response>
<doc>
if I change those tags to <lst> the code work.  One other source of error is
when the text does not fit on to one line such as:

<str name=&quot;fulltext&quot;>
MORGANZA, La. (AP) -- Federal officials say they are going to open a
Mississippi River floodgate for the first time in nearly four decades at 3
p.m. CDT. The Army Corps of Engineers made the</str>

Does anyone know how I can add different tags to sorlDoc?
http://www.omegahat.org/RSXML/solrDocs.R

And how to deal with the text on more then one line?

Just to be clear I'm using XML package, with the sorlDoc code found at the
bottom of this page 
http://www.omegahat.org/RSXML/

Thanks,
Andy


--
View this message in context: 
http://r.789695.n4.nabble.com/Custom-XML-Readers-tp4229614p4243739.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to