I create an XML Schema which parses correctly.
it starts with :
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
targetNamespace = "http://www.ludd21.com/KnittingModel"
xmlns = "http://www.ludd21.com/KnittingModel"
elementFormDefault="qualified">
<xsd:complexType name = "KnittingModel" >
I created a XML document with the E.factory.
It is like this :
mymodel = (
E.knittingModel (
E.modelname ("mymodel")
I get the above rerror and I canot find out how to add in the E.factory the
missing element.
Could you help? I thnak you in advance
_______________________________________________
lxml - The Python XML Toolkit mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/lxml.python.org/
Member address: [email protected]