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:
kamleshdudani 2019-10-04 14:56:39 +02:00 committed by Dag Wieers
parent 66de3d429f
commit 82a6f9d198

View file

@ -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