[xsd-users] Extracting DOMDocument from anyType

Boris Kolpackov boris at codesynthesis.com
Tue Jan 23 08:07:12 EST 2018


Iain Sharp <isharp at atis.org> writes:

> If I want to be consistent between how the root elements and the
> wildcard elements are created is there any reason not to use the
> constructors that take a DOMElement parameter in both cases?

Probably not in your situation. One extra thing that the parsing
functions do is handle XML schema polymorphism (substitution
groups and xsi:type) but if you don't use those on the root
elements, then it should be the same.

Boris



More information about the xsd-users mailing list