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

Question: Can you create a node with a value and children? #99

Closed
Chris-YBS opened this issue Jan 31, 2017 · 3 comments
Closed

Question: Can you create a node with a value and children? #99

Chris-YBS opened this issue Jan 31, 2017 · 3 comments
Labels

Comments

@Chris-YBS
Copy link

Chris-YBS commented Jan 31, 2017

For example:

<enclosing>
<newNode att="one">two</newNode>
</enclosing>
</code>
I can't see how to do this apart from creating a node and adding attributes seperately

@juju4
Copy link

juju4 commented Feb 12, 2017

In my own recent experience, create an empty node+attribute, and after children inside like
https://github.com/juju4/ansible-jenkins/blob/master/tasks/jenkins-ssh-auth.xml

@dagwieers
Copy link
Collaborator

@Chris-YBS There are 2 examples in #101, one using YAML syntax, the other using XML syntax.

@Chris-YBS
Copy link
Author

Thanks @dagwieers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants