xsd - Is there a shorter way to define a anything element? -


i want define tag in schema anything. should able contain combination of tags , text. far i've found

<xs:complextype name="customtype" mixed="true">   <xs:sequence>     <xs:any processcontents="lax" minoccurs="0" maxoccurs="unbounded"/>   </xs:sequence>   <xs:anyattribute processcontents="lax"/> </xs:complextype> 

i'm wondering if there shorter way.

<xs:element name="custom" type="anything"/>

thanks time.

yes. in fact can write

<xsd:element name="xyz"/> 

check here info: http://www.w3.org/tr/xmlschema-0/#anytype


Comments

Popular posts from this blog

c++ - Compiling static TagLib 1.6.3 libraries for Windows -

PostgreSQL 9.x - pg_read_binary_file & inserting files into bytea -

asp.net - call stack missing info on mono with apache and mod_mono -