[xsd-users] Namespace name constant

Boris Kolpackov boris at codesynthesis.com
Fri Aug 19 04:42:25 EDT 2011


Hi Joël,

Klaim - Joël Lamotte <mjklaim at gmail.com> writes:

>  1. Did I miss the existence of such a constant?

The only way to get this constant is to use the element type feature
(--generate-element-type). In this mode XSD will generate a type
instead of a set of parsing/serialization functions for each global
element (document root). These types provide the static name() and
namespace_() functions. See the documentation as well as the 
'messaging' example in the examples/cxx/tree/ directory in the
XSD distribution for more information.

Boris



More information about the xsd-users mailing list