Code for Examples

This page provides access to R code for each chapter.

Chapter 1 Getting Started with XML (eXtensible Markup Language) and JSON (JavaScript Object Notation)
Chapter 2 An Introduction to XML (eXtensible Markup Language)
Chapter 3 Parsing XML (eXtensible Markup Language) Content
Chapter 4 XPath, XPointer, and XInclude
Chapter 5 Strategies for Extracting Data from HTML and XML (eXtensible Markup Language) Content
Chapter 6 Generating XML (eXtensible Markup Language)
Chapter 7 JavaScript Object Notation
Chapter 8 HTTP (HyperText Transfer Protocol) Requests
Chapter 9 Scraping Data from HTML Forms
Chapter 10 REST-based Web Services
Chapter 11 Simple Web Services and Remote Method Calls with XML-RPC
Chapter 12 Accessing SOAP Web Services
Chapter 13 Authentication for Web Services via OAuth
Chapter 14 Meta-Programming with XML (eXtensible Markup Language) Schema
Chapter 15 Spreadsheets
Chapter 16 Scalable Vector Graphics
Chapter 17 Keyhole Markup Language
Chapter 18 New Ways to Think about Documents