1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/test/integration/targets/win_xml/files/books.xml
jhawkesworth 0e8a77520c Refactor of win_xml (2nd attempt) to add support for processing multiple nodes and counting nodes matched by xpath (#53362)
* add multi-node manipulation, delete on xpath match only and count capability to win_xml

* fix pep8 and yamllint errors identified by ci tests

* fixed bugs when handling multiple elements, multiple attribute nodes and handling for attribute nodes when using xpaths that only select attributes like //@lang.  Added more tests and tweaked documentation.

* fixed line-too-long error

* fixed trailing space errors

* trailing whitespace expunged

* bump version_added to 2.9 for new changes

* fix PSAvoidUsingPositionalParameters sanity check failure

* refix sanity check as it broke the msg return value
2019-04-30 13:19:56 -07:00

10 lines
424 B
XML

<?xml version='1.0' encoding='utf-8'?>
<books>
<works lang="en">
<title lang="en" isbn13="123412341234X">A Great Book</title>
<title lang="en" isbn13="1234109823400">Best Book Ever</title>
<title lang="en" isbn13="123412121234X">Worst Book Ever</title>
<title lang="en" isbn13="423412341234X">Another Book</title>
<title lang="en" isbn13="523412341234X">Worst Book Ever Two</title>
</works>
</books>