W3C home > Mailing lists > Public > www-ws-desc@w3.org > February 2007

XML Syntax Summary in Part 1

From: Ramkumar Menon <ramkumar.menon@gmail.com>
Date: Tue, 6 Feb 2007 19:24:57 -0800
Message-ID: <22bb8a4e0702061924o71fc6415t87340a47e42e00e2@mail.gmail.com>
To: www-ws-desc@w3.org
Gurus,

Section 9 of Part 1 shows the XML syntax summary for a WSDL document.

I am attaching a snippet of the XML.

<description targetNamespace="*xs:anyURI*" >
  <documentation />?

  <import namespace="*xs:anyURI*" location="*xs:anyURI*"? >
    <documentation />*
  </import>*

  <include location="*xs:anyURI*" >
    <documentation />*
  </include>*

   . . . . .
<binding name="*xs:NCName*" interface="*xs:QName*"? type="*xs:anyURI*" >
    <documentation />*
      . . . . .

You can note that "description" can possess only zero or one "documentation"
element [as indicated by "?"], whereas other components can have zero or
more documentation elements within them. [as indicated by "*"]
Is this correct ?

Secondly, am I right if I state that multiple documentation tags have been
provisioned only to provide for documentation in different languages using
the "xml:lang" property? Are there any other use-cases for this ?

rgds,
Ram



-- 
Shift to the left, shift to the right!
Pop up, push down, byte, byte, byte!

-Ramkumar Menon
A typical Macroprocessor
Received on Wednesday, 7 February 2007 03:25:04 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:58:46 GMT