/usr/share/doc/diveintopython-zh/examples/kgp/test.xml is in diveintopython-zh 5.4b-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | <?xml version="1.0"?>
<!DOCTYPE grammar PUBLIC "-//diveintopython.org//DTD Kant Generator Pro v1.0//EN" "kgp.dtd">
<grammar>
<ref id="a">
<p>0</p>
</ref>
<ref id="b">
<p>1</p>
<p>1</p>
</ref>
<ref id="c">
<p chance="100">2</p>
</ref>
<ref id="d">
<p chance="0">3</p>
</ref>
<ref id="e">
<p><xref id="a"/></p>
</ref>
<ref id="f">
<p><xref id="b"/><xref id="a"/></p>
</ref>
<ref id="g">
<p><choice><p>1</p><p>1</p></choice></p>
</ref>
</grammar>
|