Re: [R] converting XML document to table or dataframe

2013-01-31 Thread Franzini, Gabriele [Nervianoms]
Hello, R is good at handling XML, but in this case I would rather do the first step with an XSLT transformation, e.g. with Saxon, possibly to a CSV file. HTH, Gabriele -Original Message- From: Anika Masters [mailto:anika.mast...@gmail.com] Sent: Tuesday, January 29, 2013 3:01 AM To: r-

Re: [R] converting XML document to table or dataframe

2013-01-29 Thread David Winsemius
On Jan 29, 2013, at 9:03 AM, Anika Masters wrote: > > If I want to add names utilizing the information within the file, is > there a "good" way to do so? > e.g."transactionAmounts_transactionShares_value" might be one name > I'd like the data to have. > > mylist$nonDerivativeTable[[1]][5] >

Re: [R] converting XML document to table or dataframe

2013-01-29 Thread Anika Masters
If I want to add names utilizing the information within the file, is there a "good" way to do so? e.g."transactionAmounts_transactionShares_value" might be one name I'd like the data to have. mylist$nonDerivativeTable[[1]][5] On Tue, Jan 29, 2013 at 3:42 AM, David Winsemius wrote: > > On Jan

Re: [R] converting XML document to table or dataframe

2013-01-29 Thread David Winsemius
On Jan 28, 2013, at 9:00 PM, Anika Masters wrote: I am a relatively new user to R, and I am trying to learn more about converting data in an XML document into "2-dimensional format" such as a table or array. I might eventually wish to export this data into a relational database such as SQL,