The ContentHandler interface requests the following structural-oriented methods.
<?xml version="1.0" encoding="UTF-8"?>
<document title="red" canvas="yellow"> <section> <title>First section</title> <sentence>Some text.</sentence> <sentence>More text.</sentence> </section> <section> <title>Second section</title> <sentence>Another text.</sentence> <sentence>Yet more text.</sentence> </section> </document> |
|