Skip to content

Added 'attributes = TRUE' to xml_parse_data(). Set to 'FALSE' to remove XML attributes.#45

Open
J-Moravec wants to merge 1 commit intor-lib:mainfrom
J-Moravec:no_attributes
Open

Added 'attributes = TRUE' to xml_parse_data(). Set to 'FALSE' to remove XML attributes.#45
J-Moravec wants to merge 1 commit intor-lib:mainfrom
J-Moravec:no_attributes

Conversation

@J-Moravec
Copy link
Copy Markdown

This PR includes a small change mentioned in #44, upon specifying attributes = FALSE in xml_parse_data(), the XML attributes (line1, start, ...) will be removed (or not included to be precise).
This will help me (and perhaps other people) learning Xpath and writing linters.

Includes a simple unit-test.

Also includes an updated roxygen2 to the current latest version (7.3.2). Can revert and rebuild with the original one if this is a problem.

…will remove the XML attributes to make the output structure a little bit more readable.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant