Hi Wendy, > Is there a way that we can force the XSD always supports 'present' > function? The present() function is not generated. It is defined in the optional container in libxsd/xsd/cxx/tree/containers.hxx. If you want to "force" it onto the sequence container, you will have to add it in that file. Boris