xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bjoern Martin <mabj0...@fh-karlsruhe.de>
Subject Re: XMLSchema: Problem with <xsd:any>
Date Wed, 04 Jul 2001 07:35:59 GMT
>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                                bjoern.martin@gmx.net



---------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          general-unsubscribe@xml.apache.org
For additional commands, e-mail: general-help@xml.apache.org


Mime
View raw message