---------------------------------------------------------------------------
DocumentInvalid Traceback (most recent call last)
<ipython-input-15-0dcc65f24f0b> in <module>()
----> 1 schema_gx.assertValid(doc)
/usr/local/lib/python3.6/site-packages/pykml/parser.py in assertValid(self, doc)
38 when compared to the XML Schema.
39 """
---> 40 return self.schema.assertValid(doc)
41
42 def fromstring(text, schema=None):
src/lxml/lxml.etree.pyx in lxml.etree._Validator.assertValid (src/lxml/lxml.etree.c:186669)()
DocumentInvalid: Element '{http://www.opengis.net/kml/2.2}LineStyle': This element is not expected. Expected is ( {http://www.opengis.net/kml/2.2}ListStyle )., line 19