I tried this, but processContents="skip" does not even check for
well-formdness of the document which is not what should be the case.
The parser should check that the document is well formed.
--- Bjoern Martin <[EMAIL PROTECTED]> wrote:
> >Hi! All,
> >I want to create a document which allows the instance to have any
> >elements which the author wants to have in his document e.g.
> [...]
>
> You might want to subscribe to an xml schema list from w3.org for
> this
> type of question. See http://www.w3.org/Mail/Lists.html for a full
> list.
>
> Your schema ould look like this:
>
> <?xml version="1.0"?>
> <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
> <xsd:element name="Application">
> <xsd:complexType>
> <xsd:sequence>
> <xsd:element name="Host" type="xsd:string"/>
> <xsd:any namespace="##any" minOccurs="1" maxOccurs="unbounded"
> processContents="skip"/>
> </xsd:sequence>
> </xsd:complexType>
> </xsd:element>
> </xsd:schema>
>
> Regards.
>
> --
> Bjoern Martin [EMAIL PROTECTED]
>
>
>
> ---------------------------------------------------------------------
> In case of troubles, e-mail: [EMAIL PROTECTED]
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/
---------------------------------------------------------------------
In case of troubles, e-mail: [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]