| 1 |
.. Copyright 2017 David Malcolm <[email protected]> |
| 2 |
Copyright 2017 Red Hat, Inc. |
| 3 |
|
| 4 |
This library is free software; you can redistribute it and/or |
| 5 |
modify it under the terms of the GNU Lesser General Public |
| 6 |
License as published by the Free Software Foundation; either |
| 7 |
version 2.1 of the License, or (at your option) any later version. |
| 8 |
|
| 9 |
This library is distributed in the hope that it will be useful, |
| 10 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 12 |
Lesser General Public License for more details. |
| 13 |
|
| 14 |
You should have received a copy of the GNU Lesser General Public |
| 15 |
License along with this library; if not, write to the Free Software |
| 16 |
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 |
| 17 |
USA |
| 18 |
|
| 19 |
Examples |
| 20 |
======== |
| 21 |
|
| 22 |
A first example |
| 23 |
*************** |
| 24 |
|
| 25 |
.. literalinclude:: ../examples/example-1.xml |
| 26 |
:start-after: --> |
| 27 |
:language: xml |
| 28 |
:prepend: <?xml version="1.0" encoding="UTF-8"?> |
| 29 |
|
| 30 |
Example with a trace of activity |
| 31 |
******************************** |
| 32 |
|
| 33 |
.. _trace_example: |
| 34 |
|
| 35 |
.. literalinclude:: ../examples/example-2.xml |
| 36 |
:start-after: --> |
| 37 |
:language: xml |
| 38 |
:prepend: <?xml version="1.0" encoding="UTF-8"?> |
| 39 |
|
| 40 |
Example of analysis failures |
| 41 |
**************************** |
| 42 |
|
| 43 |
.. literalinclude:: ../examples/example-3.xml |
| 44 |
:start-after: --> |
| 45 |
:language: xml |
| 46 |
:prepend: <?xml version="1.0" encoding="UTF-8"?> |
| 47 |
|
| 48 |
.. literalinclude:: ../examples/example-4.xml |
| 49 |
:start-after: --> |
| 50 |
:language: xml |
| 51 |
:prepend: <?xml version="1.0" encoding="UTF-8"?> |
| 52 |
|
| 53 |
.. literalinclude:: ../examples/example-6.xml |
| 54 |
:start-after: --> |
| 55 |
:language: xml |
| 56 |
:prepend: <?xml version="1.0" encoding="UTF-8"?> |
| 57 |
|
| 58 |
Example of ranges |
| 59 |
***************** |
| 60 |
|
| 61 |
.. literalinclude:: ../examples/example-5.xml |
| 62 |
:start-after: --> |
| 63 |
:language: xml |
| 64 |
:prepend: <?xml version="1.0" encoding="UTF-8"?> |
| 65 |
|
| 66 |
Debian Examples |
| 67 |
**************** |
| 68 |
|
| 69 |
.. literalinclude:: ../examples/example-debian-source.xml |
| 70 |
:start-after: --> |
| 71 |
:language: xml |
| 72 |
:prepend: <?xml version="1.0" encoding="UTF-8"?> |
| 73 |
|
| 74 |
.. literalinclude:: ../examples/example-debian-binary.xml |
| 75 |
:start-after: --> |
| 76 |
:language: xml |
| 77 |
:prepend: <?xml version="1.0" encoding="UTF-8"?> |
| 78 |
|
| 79 |
etc |