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
Post a Comment