Is there any way to handle an any field in a XML schema?
For example:
<element name="resourcetype">
<complexType>
<sequence>
<element ref="dav:collection" minOccurs="0"/>
<any processContents="skip" namespace="##other" minOccurs="0" maxOccurs="unbounded" />
</sequence>
</complexType>
</element>
I know that in JAXB, this is possible with the XmlAnyElement annotation but I haven't found a way to achieve this with SimpleXml.
Thanks!
Is there any way to handle an
anyfield in a XML schema?For example:
I know that in JAXB, this is possible with the XmlAnyElement annotation but I haven't found a way to achieve this with SimpleXml.
Thanks!