[XMLSCHEMA-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Restricted element content

From: Vity <vitywap@seznam.cz>
Date: Wed, 11 Mar 2009 19:17:04 +0100
To: <xmlschema-dev@w3.org>
Message-ID: <999FD3BA9DBD4D9BADC545C0622A07D9@stroj>
Restricted element content
Hello,
I have very simple question, but I cannot find a solution for this.
I would like to create XSD, which would describe following piece of XML:
<foo atr1="some restricted attribute">
  --limited string length (or eg. positive integer)-- 
  <bar1 />
  <bar2 />
</foo>

=element with an attribute which contains restricted content and other
elements. 

I have no problem to describe the XML without "bar" elements, but it seems
to have no solution with them.

Thanks in advance.

-Vity
Received on Thursday, 12 March 2009 12:26:40 GMT

Subscribe to the Stylus Scoop newsletter for helpful XML tips and tutorials.
Email
First Name
Last Name
Company

Download Stylus Studio 6 XML Enterprise Edition

Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.