title: Parsing Java String with SGML
body: <p>I have a Java String with SGML, something like this...</p>
  
  <pre><code>&lt;misspell&gt;&lt;/misspell&gt;&lt;plain&gt;I&lt;/plain&gt; &lt;plain&gt;know&lt;/plain&gt; &lt;plain&gt;you&lt;/plain&gt; &lt;suggestion&gt;ducky&lt;/suggestion&gt; &lt;plain&gt;suck&lt;/plain&gt; &lt;plain&gt;and&lt;/plain&gt; &lt;plain&gt;I&lt;/plain&gt; &lt;plain&gt;rocky&lt;/plain&gt; &lt;plain&gt;rock&lt;/plain&gt;
  </code></pre>
  
  <p>How do I parse it to get for instance say the text inside <code>&lt;suggestion&gt; &lt;/suggestion&gt;</code>so as to get "ducky" out??</p>
  
  <p>Will javax.swing.text.html.parser.Parse can be of any help? or I can only parse HTML docs with it? </p>