Re: [R] Custom XML Readers

2011-12-29 Thread pl.r...@gmail.com
I found the source of the error, in my XML document there are some costume tags such us if I change those tags to the code work. One other source of error is when the text does not fit on to one line such as: MORGANZA, La. (AP) -- Federal officials say they are going to open a Mississippi Riv

Re: [R] Custom XML Readers

2011-12-29 Thread pl.r...@gmail.com
I found the source of the error, in my XML document there are some costume tags such us if I change those tags to the code work. One other source of error is when the text does not fit on to one line such as: MORGANZA, La. (AP) -- Federal officials say they are going to open a Mississippi Ri

Re: [R] Custom XML Readers

2011-12-28 Thread pl.r...@gmail.com
Thanks all for helpful advise, however I'm still running in to an error while trying to run "readSolrDoc" provided by Ducan Temple Lang. The documents I'm trying to parse come from solr and look very much like the example provided on http://www.omegahat.org/RSXML/ I'm not that familiar with th

Re: [R] Custom XML Readers

2011-12-25 Thread Duncan Temple Lang
In addition to the general tools of the XML package, I also had code that read documents with a similar structure to the ones Andy illustrated. I put them and simple examples of using them at the bottom of http://www.omegahat.org/RSXML/ page. D. On 12/23/11 5:50 PM, Ben Tupper wrote: > Hi

Re: [R] Custom XML Readers

2011-12-23 Thread Ben Tupper
Hi Andy, On Dec 23, 2011, at 2:51 PM, pl.r...@gmail.com wrote: > I need to construct a custom XML reader, the files I'm working with are in > funky XML format: > > Paul H > USA > 2010-02-16 > > I want to read the file so it looks like: > > author = Paul H > country = USA > created_date=2010-

[R] Custom XML Readers

2011-12-23 Thread pl.r...@gmail.com
I need to construct a custom XML reader, the files I'm working with are in funky XML format: Paul H USA 2010-02-16 I want to read the file so it looks like: author = Paul H country = USA created_date=2010-02-16 Does any one know how to go about this problem, or know of good references i co