title: Understanding XML and XSD parsing in Python 3
body: <p>So I will ask the question somewhat vaugley because I'm first not sure if the question can be asked.. Here goes,</p>
  
  <p>I want to read an XML tree in using Python3 which I am new to. I have accomplished this with relative ease using:</p>
  
  <pre><code>xml.etree.ElementTree.parse(urllib.request.urlopen(url))
  </code></pre>
  
  <p>The XML stream are different data sets and there is a XSD which is available which I have also parsed int he same way. Now, my question is can I create a parser using the XSD schema? I am new to XML in this way, but I have found examples where the parser object was generated using the XSD then the XML was read in accordingly. However, I cannot find the equivalent in Python3.</p>
  
  <p>Here is vaugely what I want in Python2.X:</p>
  
  <pre><code>schema = etree.XMLSchema(schema_root)
  xmlparser = etree.XMLParser(schema=schema)
  </code></pre>
  
  <p>I'm not sure if I'm even conceptualizing this correctly. Maybe this is an XML problem not a python problem, i.e., maybe you can only validate the XML against the schema and not actually use it to parse with the specifics from the XSD. Anyone help clear this up?</p>