W3C home > Mailing lists > Public > xmlschema-dev@w3.org > March 2009

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>
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 />

=element with an attribute which contains restricted content and other

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

Thanks in advance.

Received on Thursday, 12 March 2009 12:26:40 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:15:50 UTC