rnc schema for wsdl

"aaditya sood" <[email protected]>
Newsgroups gmane.emacs.nxml.general
Message-ID <[email protected]>
Hi,

I'm attaching the rnc schema file for WSDL documents. Could it be
installed for all files of name *.wsdl ?

regards
-- 
aaditya


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/emacs-nxml-mode/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/emacs-nxml-mode/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[email protected] 
    mailto:[email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
wsdl-schema.rnc.txt (text/plain, 3.2 KB)
default namespace = "http://schemas.xmlsoap.org/wsdl/"
namespace soap = "http://schemas.xmlsoap.org/wsdl/soap/"
namespace xs = "http://www.w3.org/2001/XMLSchema"

start =
  element definitions {
    attribute targetNamespace { xsd:anyURI },
    element types {
      element xs:schema {
        attribute elementFormDefault { xsd:NCName },
        attribute targetNamespace { xsd:anyURI },
        (xs.complexType
         | xs.element
         | element xs:simpleType {
             attribute name { xsd:NCName },
             xs.annotation?,
             element xs:restriction {
               attribute base { xsd:NMTOKEN },
               (element xs:minLength {
                  attribute value { xsd:integer }
                },
                element xs:maxLength {
                  attribute value { xsd:integer }
                })?,
               (element xs:minInclusive {
                  attribute value { xsd:integer }
                }
                | element xs:whiteSpace {
                    attribute value { xsd:NCName }
                  }
                | element xs:enumeration {
                    attribute value { xsd:NCName }
                  }*)
             }
           })+
      }
    },
    element message {
      attribute name { xsd:NCName },
      element part {
        attribute element { xsd:NMTOKEN },
        attribute name { xsd:NCName },
        documentation?
      }
    }+,
    element portType {
      attribute name { xsd:NCName },
      operation+
    },
    element binding {
      attribute name { xsd:NCName },
      attribute type { xsd:NMTOKEN },
      element soap:binding {
        attribute style { xsd:NCName },
        attribute transport { xsd:anyURI }
      },
      operation+
    },
    element service {
      attribute name { xsd:NCName },
      element port {
        attribute binding { xsd:anyURI },
        attribute name { xsd:NCName },
        element soap:address {
          attribute location { xsd:anyURI }
        }
      }
    }
  }
xs.element =
  element xs:element {
    attribute maxOccurs { xsd:NMTOKEN }?,
    attribute minOccurs { xsd:integer }?,
    attribute name { xsd:NCName },
    attribute nillable { xsd:boolean }?,
    attribute type { xsd:NMTOKEN }?,
    (xs.annotation | xs.complexType)?
  }
xs.complexType =
  element xs:complexType {
    attribute name { xsd:NCName }?,
    (element xs:all { xs.element+ }
     | element xs:choice { xs.element+ })?,
    xs.annotation?,
    element xs:complexContent {
      element xs:extension {
        attribute base { xsd:NMTOKEN },
        xs.sequence?
      }
    }?,
    xs.sequence?
  }
xs.annotation =
  element xs:annotation {
    element xs:documentation { text }
  }
documentation = element documentation { text }
operation =
  element operation {
    attribute name { xsd:NCName },
    (documentation
     | element soap:operation {
         attribute soapAction { xsd:anyURI }
       })?,
    element input {
      attribute message { xsd:NMTOKEN }?,
      soap.body?
    },
    element output {
      attribute message { xsd:NMTOKEN }?,
      soap.body?
    }
  }
xs.sequence = element xs:sequence { xs.element* }
soap.body =
  element soap:body {
    attribute use { xsd:NCName }
  }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.