[xsd-users] redefinition error

Boris Kolpackov boris at codesynthesis.com
Sun Apr 1 09:59:13 EDT 2007


Hi Guy,

Guy Kroizman <kroiz at hyperroll.com> writes:

> How can I make all the generated code be in its own namespace?

Use the --namespace-map option. If your schema does not have a
target namespace, you can still use this option with empty string
indicating XML Schema namespace, e.g.,

--namespace-map =my_namespace

Will generate code for no-namespace schemas in my_namespace C++
namespace. For more information about this option see the XSD
compiler manual:

http://www.codesynthesis.com/projects/xsd/documentation/xsd.xhtml

hth,
-boris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 652 bytes
Desc: Digital signature
Url : http://codesynthesis.com/pipermail/xsd-users/attachments/20070401/c6a8339f/attachment.pgp


More information about the xsd-users mailing list