Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" 
           xmlns="urn:jboss:domain:legacy-jnp:1.0"
           targetNamespace="urn:jboss:domain:legacy-jnp:1.0" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.0">
    <xs:element name="subsystem" type="subsystemType"/>
    <xs:complexType name="subsystemType">
        <xs:sequence>
            <xs:element name="jnp-server" minOccurs="1" maxOccurs="1" />
            <xs:element name="jnp-connector" minOccurs="1" maxOccurs="1" />
            <xs:element name="remoting" minOccurs="1" maxOccurs="1" type="remotingType"/>
            <xs:elmement name="distributed-cache" minOccurs="0" maxOccurs="1" type="cacheType"/>
        </xs:sequence>
    </xs:complexType>    
    <xs:complexType name="jnpServerConnectorType">
        <xs:attribute name="socket-binding" type="xs:string" use="required" />
        <xs:attribute name="rmi-socket-binding" type="xs:string" use="optional"/>
    </xs:complexType>
    <xs:complexType name="remotingType">
        <xs:attribute name="socket-binding" type="xs:string" use="required" />
    </xs:complexType>
    <xs:complexType name="cacheType">
        <xs:attribute name="cache-ref" type="xs:string" use="required"/>
        <xs:attribute name="cache-container" type="xs:string" use="required"/>
    </xs:complexType>
</xs:schema>
New to GrepCode? Check out our FAQ X