Skip to content
New issue

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

Support xmlwriter #122

Closed
yatra9 opened this issue Sep 5, 2019 · 1 comment
Closed

Support xmlwriter #122

yatra9 opened this issue Sep 5, 2019 · 1 comment

Comments

@yatra9
Copy link

yatra9 commented Sep 5, 2019

I want to write xml files.
It will be nice to support xmlwriter APIs of libxml2.

@bicycle1885
Copy link
Member

Hi, you can use println to print an XML document or tree as follows:

julia> el = ElementNode("element")
priEzXML.Node(<ELEMENT_NODE[element]@0x00007f8577c82db0>)

julia> println(el)
<element/>

julia> el.content = "some content"
"some content"

julia> println(el)
<element>some content</element>

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

No branches or pull requests

2 participants