Vai al contenuto principale

BIN MFXyT Documentation

  • Author:

  • Version: 3

  • Description: Grabbed from XSD at http://cs.au.dk/~amoeller/XML/schemas/xmlschema-example.html

  • Created: 2015-12-16

  • Modified: 2015-12-16

  • Source:

     Modifica Bin W3C Schema Json-Schema Java Bean Code Default Value as XML

    Printers Embed Responsive

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <!--
        This OSK Schema has been generated by a W3C XML Schema
        retrieved at undefined:/text
        using com.eleusoft.schemaconvert.w3c.transform package,
        Copyright 2005-(Current) Michele Vivoda, Eleusoft.com
    --><osk xmlns:norm="http://www.eleusoft.org/schemaconvert/normalize" norm:generator="transform.xsl" norm:generator.vendor="Eleusoft" norm:generator.version="0.2" norm:xsl.vendor="Apache Software Foundation" norm:xsl.version="1.0">
    <datatypeLibrary xmlns:extra="http://eleusoft.org/schema/extra" xmlns:out="http://www.eleusoft.org/schemaconvert/out" xmlns:rslv="http://www.eleusoft.org/schemaconvert/resolve" xmlns:xs="http://www.w3.org/2001/XMLSchema" uri="http://www.w3.org/2001/XMLSchema-datatypes"/>
    <schema xmlns:extra="http://eleusoft.org/schema/extra" xmlns:out="http://www.eleusoft.org/schemaconvert/out" xmlns:rslv="http://www.eleusoft.org/schemaconvert/resolve" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xslns="http://www.eleusoft.org/xsltnshelpers" attributeFormDefault="unqualified" description="This package is the root result of the transformation of a W3C Schema." elementFormDefault="unqualified" extra:w3ctransform.isroot="true" name="text" namespaceUri="http://businesscard.org" uri="http://businesscard.org">
    <ns prefix="b" uri="http://businesscard.org"/>
    <!--
    	ROOT xs:element @type attribute specified -
    	xs:schema/xs:element[@norm:name='card'][@norm:type='Type.card_type'].
    	In OSK is either a simpleType or a complex type, depends on the referenced type, that in this case is complex.
    	Note: The name is the same of the element (no [Type.] prefix added).-->
    <complexType description="Grabbed from XSD at http://cs.au.dk/~amoeller/XML/schemas/xmlschema-example.html" extra:form="true" name="card" rslv:oskrefiscomplex="true">
    <implements type="Type.card_type" typeUri="http://businesscard.org"/>
    </complexType>
    <!--
    	ROOT xs:element @type attribute specified -
    	xs:schema/xs:element[@norm:name='name'][@norm:type='string'].
    	In OSK is either a simpleType or a complex type, depends on the referenced type, that in this case is simple.
    	Note: The name is the same of the element (no [Type.] prefix added).-->
    <simpleType name="name" type="string" typeUri="http://www.w3.org/2001/XMLSchema-datatypes"/>
    <!--
    	ROOT xs:element @type attribute specified -
    	xs:schema/xs:element[@norm:name='title'][@norm:type='string'].
    	In OSK is either a simpleType or a complex type, depends on the referenced type, that in this case is simple.
    	Note: The name is the same of the element (no [Type.] prefix added).-->
    <simpleType name="title" type="string" typeUri="http://www.w3.org/2001/XMLSchema-datatypes"/>
    <!--
    	ROOT xs:element @type attribute specified -
    	xs:schema/xs:element[@norm:name='email'][@norm:type='string'].
    	In OSK is either a simpleType or a complex type, depends on the referenced type, that in this case is simple.
    	Note: The name is the same of the element (no [Type.] prefix added).-->
    <simpleType name="email" type="string" typeUri="http://www.w3.org/2001/XMLSchema-datatypes"/>
    <!--
    	ROOT xs:element @type attribute specified -
    	xs:schema/xs:element[@norm:name='phone'][@norm:type='string'].
    	In OSK is either a simpleType or a complex type, depends on the referenced type, that in this case is simple.
    	Note: The name is the same of the element (no [Type.] prefix added).-->
    <simpleType name="phone" type="string" typeUri="http://www.w3.org/2001/XMLSchema-datatypes"/>
    <!--
    	ROOT xs:element @type attribute specified -
    	xs:schema/xs:element[@norm:name='logo'][@norm:type='Type.logo_type'].
    	In OSK is either a simpleType or a complex type, depends on the referenced type, that in this case is complex.
    	Note: The name is the same of the element (no [Type.] prefix added).-->
    <complexType description="Global Element" extra:form="true" name="logo" rslv:oskrefiscomplex="true">
    <implements type="Type.logo_type" typeUri="http://businesscard.org"/>
    </complexType>
    <!--
    	CT-CCR-ANYTYPE-HASPARTICLES - This is a named complexType 
    	that restricts xs:anyType declaring children particles.
    	-->
    <complexType name="Type.card_type">
    <!--Here there was an order-only xs:sequence-->
    <!--	Local element using @ref-->
    <field name="name" ref="true" type="name" typeUri="http://businesscard.org"/>
    <!--	Local element using @ref-->
    <field name="title" ref="true" type="title" typeUri="http://businesscard.org"/>
    <!--	Local element using @ref-->
    <field name="email" ref="true" type="email" typeUri="http://businesscard.org"/>
    <!--	Local element using @ref-->
    <field minOccurs="0" name="phone" ref="true" type="phone" typeUri="http://businesscard.org"/>
    <!--	Local element using @ref-->
    <field minOccurs="0" name="logo" ref="true" rslv:oskrefiscomplex="true" type="logo" typeUri="http://businesscard.org"/>
    <!--End order-only xs:sequence-->
    </complexType>
    <!--
    	CT-CCR-ANYTYPE-NOPARTICLES - This is a named complexType 
    	that restricts xs:anyType without declaring children particles (attributes are ok).
    	-->
    <complexType name="Type.logo_type">
    <!--local attribute with @type reference - parent: rslv:attributes-->
    <field extra:xml="attribute" form="unqualified" localName="url" minOccurs="0" name="ATTR_url" type="anyURI" typeUri="http://www.w3.org/2001/XMLSchema-datatypes"/>
    </complexType>
    <!--Begin find global nillable elements-->
    <!--Begin find local nillable elements for N10004-->
    <!-- Type card_type-->
    <!-- Type logo_type-->
    <!--resolve defaults for simple content local elements-->
    <!--Begin find sequence(s) for [undefined:/text]-->
    </schema>
    </osk>