4.9 (Reponse) Formats: XML

  • XML (eXtensibleMarkupLanguage, *.xml)
    • Plain text format like JSON
    • Syntax of choice for many newly designed document formats (Word documents!)
    • Looks like HTML but has purpose to store data
    • Markup (mostly tags) & content
    • Syntax example
    • See datacamp exercise and (cf. Munzert et al. 2014, Chapter 3)
  • Json vs. XML (see here and here)

References

Munzert, Simon, Christian Rubba, Peter Meißner, and Dominic Nyhuis. 2014. Automated Data Collection with R: A Practical Guide to Web Scraping and Text Mining. John Wiley & Sons.