Update xml.py (#63128)
##### SUMMARY Update example to remove escape characters in front of special characters as it is not needed to add explicitly anymore with latest ansible version ##### ISSUE TYPE - Docs Pull Request +label: docsite_pr
This commit is contained in:
parent
66de3d429f
commit
82a6f9d198
1 changed files with 1 additions and 1 deletions
|
@ -225,7 +225,7 @@ EXAMPLES = r'''
|
|||
- name: Add several more beers to the 'beers' element and add them before the 'Rochefort 10' element
|
||||
xml:
|
||||
path: /foo/bar.xml
|
||||
xpath: '/business/beers/beer[text()=\"Rochefort 10\"]'
|
||||
xpath: '/business/beers/beer[text()="Rochefort 10"]'
|
||||
insertbefore: yes
|
||||
add_children:
|
||||
- beer: Old Rasputin
|
||||
|
|
Loading…
Reference in a new issue