xmlParseDoc {XML} | R Documentation

## Parse an XML document with options controlling the parser.

### Description

This function is a generalization of `xmlParse` that parses an XML document. With this function, we can specify a combination of different options that control the operation of the parser. The options control many different aspects the parsing process

### Usage

    xmlParseDoc(file, options = 1L, encoding = character(), asText = !file.exists(file), baseURL = file)

### Arguments

`file` |
`options` |
`encoding` |
`asText` |
`baseURL` |

### References

libxml2

[Package XML version 2.5-1 Index]