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

Restricted element content

From: Ladislav Vitásek <vity@vity.cz>
Date: Wed, 11 Mar 2009 19:57:56 +0100
To: <xmlschema-dev@w3.org>
Message-ID: <3CED78F512604425A0A8C6FA99614D9E@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:57 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:56:15 UTC