Fix problem in example code. It's minor in this particular example,
but can lead to mysterious problems in real applications.
This commit is contained in:
parent
03cb7ee9c5
commit
a41b2bb981
|
@ -480,7 +480,7 @@ p.CharacterDataHandler = char_data
|
||||||
p.Parse("""<?xml version="1.0"?>
|
p.Parse("""<?xml version="1.0"?>
|
||||||
<parent id="top"><child1 name="paul">Text goes here</child1>
|
<parent id="top"><child1 name="paul">Text goes here</child1>
|
||||||
<child2 name="fred">More text</child2>
|
<child2 name="fred">More text</child2>
|
||||||
</parent>""")
|
</parent>""", 1)
|
||||||
\end{verbatim}
|
\end{verbatim}
|
||||||
|
|
||||||
The output from this program is:
|
The output from this program is:
|
||||||
|
|
Loading…
Reference in New Issue