Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(7)  |  Call(6)  |  Derive(0)  |  Import(1)
This represents the xsd-float type.

src/r/s/rsl.xsd-0.2.4/src/rsl/xsd/factories.py   rsl.xsd(Download)
from rsl.xsd.namespace import NS_XMLSCHEMA, NS_XMLSCHEMA_99, NS_XML
from rsl.xsd.urtype import AnyType, AnySimpleType
from rsl.xsd.simpletype import FloatType, BooleanType, Base64Type, DateType
from rsl.xsd.simpletype import HexBinaryType, DateTimeType, IntegerType
from rsl.xsd.schema import XMLSchema
    # time, date, gYearMonth, gYear, gMonthDay, gDay, gMonth, anyURI, QName, NOTATION
    xsd.types["string"] = AnySimpleType("string", xsd)
    xsd.types["decimal"] = FloatType("decimal", xsd)
    xsd.types["float"] = FloatType("float", xsd)
    xsd.types["double"] = FloatType("double", xsd)
    # time, date, gYearMonth, gYear, gMonthDay, gDay, gMonth, anyURI, QName, NOTATION
    xsd.types["string"] = AnySimpleType("string", xsd)
    xsd.types["decimal"] = FloatType("decimal", xsd)
    xsd.types["float"] = FloatType("float", xsd)
    xsd.types["double"] = FloatType("double", xsd)