goetas / xsd2php

Convert XSD into PHP classes and serialize into XML (deserialize too)
149 stars 62 forks source link

Nested XMLs #102

Closed mjanda closed 8 years ago

mjanda commented 8 years ago

Hello, this is more of an question than issue, but maybe you'll help me.

I have xsd with anyType element and another xsd describing that nested element (first xsd serves as wrapper for multiple document types, each described by separate xsd).

I understand I need to create custom serializer...but what should it do? Create second serializer for that inner xml, convert resulting string to DOMElement and return that? I'm hoping there is some cleaner solution.