Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It would be awesome to have as_xml() to enable a roundtrip with as_list().
as_xml()
as_list()
as_list() has a limited scope and that would be just fine for the inverse. I'm really only interested in being able to create XML from simple R lists.
as_list currently only handles the four most common types of children that an element might have: Other elements, converted to lists. Attributes, stored as R attributes. Text, stored as a character vector.
as_list currently only handles the four most common types of children that an element might have:
as_list
The XML package sort of has (had?) this, in the form of XML::toHTML(). This topic has also seen quite a bit of stackoverflow action: How to create xml from R objects, e.g., is there a 'listToXml' function?.
XML
XML::toHTML()
The text was updated successfully, but these errors were encountered:
1f820d8
No branches or pull requests
It would be awesome to have
as_xml()
to enable a roundtrip withas_list()
.as_list()
has a limited scope and that would be just fine for the inverse. I'm really only interested in being able to create XML from simple R lists.The
XML
package sort of has (had?) this, in the form ofXML::toHTML()
. This topic has also seen quite a bit of stackoverflow action: How to create xml from R objects, e.g., is there a 'listToXml' function?.The text was updated successfully, but these errors were encountered: