Vai al contenuto principale

BIN InVxq Documentation

  • Author:

  • Version: 9

  • Description: Schema for Demo

  • Created: 2023-07-07

  • Modified: 2023-07-07

  • Source:

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

    Printers Embed Responsive

    <?xml version="1.0" encoding="UTF-8"?>
    <osk xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
    	xsi:noNamespaceSchemaLocation='http://www.eleusoft.org/osk/osknons.xsd' 
    	xmlns:extra='http://eleusoft.org/schema/extra'>
    	<datatypeLibrary prefix="xs" uri='http://www.w3.org/2001/XMLSchema-datatypes' />
    
    	<schema name='com.eleusoft.application.demo.bean' 
    		description='Schema for Demo'>
    
    	<complexType name="NodesAttrText">
    		<field name="attribute" type='xs:string' node="attribute"/>
    		<field name="listAttribute" type='xs:string' node="listAttribute" maxOccurs="unbounded"/>
    		<field name="nil" type='xs:string' minOccurs="0" node="nil"/>
    		
    	</complexType>
    	<complexType name="NodesAttrSpecialListText">
    		<field name="lang" type='xs:string' node="lang"/>
    		<field name="base" type='xs:string' node="base"/>
    		<field name="xmlid" type='xs:string' node="xmlid"/>
    		<field name="space" type='xs:string' node="space"/>
    		<field name="text" type='xs:string' maxOccurs="n" node="listText"/>		
    	</complexType>
    	<complexType name="NodesElement">
    		<field name="element" type='xs:string' minOccurs="0" node="element"/>
    		<field name="cdata" type='xs:string' minOccurs="0" node="cdata"/>
    		<field name="listElement" type='xs:string'  node="listElement" maxOccurs="unbounded"/>
    		<field name="documentElement" type='xs:string'  node="document"/>
    		<field name="documentsElement" type='xs:string'  node="document" maxOccurs="unbounded"/>
    	</complexType>
    	<complexType name="NodesMixedContent">
    		<choice maxOccurs='n'  name='clist'>
    			<field name="element" type='xs:string'  node="element"/>
    			<field name="adjacenttext" type='xs:string'   node="adjacenttext"/>
    		</choice>
    	</complexType>
    	<complexType name="NodesFragment" >
    		<choice maxOccurs='1'  name='csingle'>     
    			<field name="element" type='xs:string'  node="element"/>
    			<field name="childrenfragment" type='xs:string'   node="document"/>
    		</choice> 
    	</complexType>
    	
    	</schema>
    </osk>