W3C home > Mailing lists > Public > xmlschema-dev@w3.org > July 2001

Re: Antwort: Re: Global Vs Root Element.

From: Ian Stokes-Rees <ijs@decisionsoft.com>
Date: Fri, 06 Jul 2001 15:27:41 +0100
Message-ID: <3B45CADD.727FB1AB@decisionsoft.com>
To: Holger.Joukl@LBBW.de
CC: xmlschema-dev@w3.org
As I said in the original post, all the "schema examples" were in "pseudo
XSDL" -- a short hand which conveys the concept without the bulk of proper
XSDL.  They are guaranteed not to be XSDL conformant.

Regards,

Ian

PS - please consider that indiscriminate confidentiality statements in a
signature may actually _reduce_ the strength of your legal position, besides
the fact that sigs of that length are considered fairly poor netiquette.

Holger.Joukl@LBBW.de wrote:
> 
> Hi,
> one (beginnerīs :-) question:
> Are you allowed to put in the <attribute name=...> in element content?
> 
> -- snip------------------------------------------------------------
> <group name="fooStyleX">
>   <element name="foo">
>     <attribute name="some_attr">
>   </element>
> </group>
> 
> or similar with the <group...> as element content:
> 
> --snip----------------------------
> <element name="doc">
>   <element name="a">
>     <group ref="fooStyleX" />
>   </element>
> 
> Or are you just leaving out some anonymous complexType "wrappers"
> around this content? (Maybe thatīs what you mean with "pseudo XSDL")
> 
> As I understand the Rec, element content is restricted to:
> 
> "(annotation?, ((simpleType | complexType)?, (unique | key | keyref)*))"
> 
> Greetings
>   Holger


-- 
Ian Stokes-Rees                       DecisionSoft Ltd.
Telephone: +44-1865-203192            http://www.decisionsoft.com
Received on Friday, 6 July 2001 10:26:05 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:22 GMT