[Home] [By Thread] [By Date] [Recent Entries]

  • From: charlescook@u...
  • To: xml-dev@l...
  • Date: Fri, 20 Apr 2001 18:06:28 +0100 (BST)

I've unsucessfuly been trying to represent the 
following element in XML Schema. I suspect its 
not possible. Any suggestions? 

The element "value" can contain an element 
called "string" which contains some text:

<value>
  <string>some text</string>
</value>

or "value" can simply contain some text:

<value>some text</value>

No prizes for guessing which XML-based RPC 
protocol this is taken from.

- Thanks, Charles

-------------------------------------------------
This mail sent through UK Online webmail

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member