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
Insert xml after any element in needed order #18
Comments
Hi there -- this looks possible. What XPath expression have you tried? |
I'm not understand how realize this inserting. Can you help? |
Hello! Can you show a before and after? I'm happy to help troubleshoot, but please show us what you have already tried too. |
Closing since I haven't gotten a response. |
Example. Input: I need insert after 1, before 3 (must receive output If I use append and prepend: false I receive: If I use append and prepend: true I receive: How I can receive 1,2,3 in correct order |
Please show us the exact chef code you've tried 👍 |
Input xml:
Input chef:
After execute I receive modules in order: module1, module2, module4, module5. Thanks |
Have you tried something like?
|
Martin - I've run 2 times chef-client and recive next:
|
You probably need to add an |
Hi.
Can you realize to add new element after 1 or for example after 3?
For example
<modules> <module>1</module> <module>3</module> </modules>
I need to insert after 1 and before 3.
Thanks.
The text was updated successfully, but these errors were encountered: