CoreOffice / XMLCoder

Easy XML parsing using Codable protocols in Swift
https://coreoffice.github.io/XMLCoder/
MIT License
795 stars 107 forks source link

namespace="##any" or namespace="##other" #232

Open CWeykopf opened 2 years ago

CWeykopf commented 2 years ago

I hava a .xsd with this type. I've tried to decode the elements from ##other into an array but without success. There are several types with ##other or ##any namespaces. I have no clue how to handle it. I need the attributes too.

<complexType name="`TransformType`" mixed="true">
    <choice minOccurs="0" maxOccurs="unbounded">
        <any namespace="##other" processContents="lax"/>
        <!-- (1,1) elements from (0,unbounded) namespaces -->
        <element name="XPath" type="string"/>
    </choice>
    <attribute name="Algorithm" type="anyURI" use="required"/>