Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8621845
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T06:54:35+00:00 2026-06-12T06:54:35+00:00

I wish to get a XML file produced by EndNote into an R data

  • 0

I wish to get a XML file produced by EndNote into an R data frame.

I would like each final child node (e.g. title, author…) to be a column

An example EndNote xml file is available here:

Example on gist

I have yet to resolve this using library(XML). I am hoping someone has a ready made solution, sorry if this sounds lazy.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T06:54:36+00:00Added an answer on June 12, 2026 at 6:54 am

    I had a similar problem to convert to a dataframe. I used xmlToDataFrame on the child nodes.

    library(XML)
    library(RCurl)
    urldata<-"https://gist.github.com/raw/3831049/80f1315ba03d278b4f5f0d916fb1999709fc40e6/endnote.xml"
    urldata<-xmlParse(getURL(urldata,ssl.verifypeer = FALSE,.opts=curlOptions(followlocation=TRUE)))
    xmlToDataFrame(getNodeSet(urldata,'//*/record'))
    
    #             database source-app rec-number foreign-keys ref-type
    # 1 EndNote Ecology.enl    EndNote      13264        13264       17
    # 2 EndNote Ecology.enl    EndNote      13265        13265       17
    #        contributors                                  auth-address
    # 1    Chapman, A. G. Cent States Forest Expt Stn, Columbus, OH USA
    # 2 Strohecker, H. F.                 Univ Chicago, Chicago, IL USA
    #                                                                                                     titles
    # 1 An ecological basis for reforestation of submariginal lands in the Central Hardwood RegionEcologyEcology
    # 2                                          A survey of soil temperatures in the Chicago areaEcologyEcology
    #       periodical alt-periodical   pages volume number   dates      isbn
    # 1 EcologyEcology EcologyEcology  93-105     18      1 1937Jan 0012-9658
    # 2 EcologyEcology EcologyEcology 162-168     18      1 1937Jan 0012-9658
    #         accession-num                                           notes
    # 1 ISI:000200148800007  V02fg\rTimes Cited:5\rCited References Count:2
    # 2 ISI:000200148800014 V02fg\rTimes Cited:5\rCited References Count:14
    #                            urls language
    # 1 <Go to ISI>://000200148800007  English
    # 2 <Go to ISI>://000200148800014  English
    

    There maybe some problems with multiple authors (doesnt occur here) etc if used in general which would require probably a slight change.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I wish fetch data in a XML file, where Tag is a variable.. My
I have an XML file loaded into a DOM document, I wish to iterate
I have an XML file which is about 200MB in size, i wish to
I wish to write JSP which generates XML file, which has syntax, similiar to
I'am using Configuration 1.6. I hava a xml file, like <property> <name>sql</name> <value><![CDATA[select a,
I am deserializing a given XML file into a single object, which I have
I wish to get a list of all strings that are used in a
I wish to get a particular set of files and the only access I
I wish to get a quick feeling for how much copy and paste coding
I wish to get the number of all TR elements that have a input

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.