title: How i parse with lxml a result page with form?
body: <p>I try to parse a secondary page with form . I use example code source from this link :
  <a href="http://blog.ianbicking.org/2007/09/24/lxmlhtml/" rel="nofollow noreferrer">http://blog.ianbicking.org/2007/09/24/lxmlhtml/</a>
  On my test i use this url: <a href="http://www.infofer.ro/" rel="nofollow noreferrer">http://www.infofer.ro/</a> 
  Like on example , I use this values :</p>
  
  <pre><code>&gt;&gt;&gt; pprint(form.form_values())
  [('cboData', '8/30/2010'),
   ('txtPlecare', 'Bucuresti Nord'),
   ('txtSosire', 'Constanta'),
   ('tip', 'GO'),
   ('lng', '1')]
  </code></pre>
  
  <p>The result is take it with this :</p>
  
  <pre><code>result = parse(submit_form(form)).getroot()
  </code></pre>
  
  <p>This is another page with another form .
  I try something like this :</p>
  
  <pre><code>&gt;&gt;&gt; page2=parse(result).getroot()
  Traceback (most recent call last):
    File "&lt;stdin&gt;", line 1, in &lt;module&gt;
    File "/usr/lib/python2.6/site-packages/lxml/html/__init__.py", line 661, in parse
      return etree.parse(filename_or_url, parser, base_url=base_url, **kw)
    File "lxml.etree.pyx", line 2706, in lxml.etree.parse (src/lxml/lxml.etree.c:49945)
    File "parser.pxi", line 1525, in lxml.etree._parseDocument (src/lxml/lxml.etree.c:72026)
  TypeError: cannot parse from 'HtmlElement'
  </code></pre>
  
  <p>How i parse the form from secondary page ?</p>
  
  <p>Regards.</p>