[xsde-users] XSD/e 3.2.0 - Getting g1 prefix on elements - why?
Boris Kolpackov
boris at codesynthesis.com
Thu Apr 11 09:22:44 EDT 2013
Hi Jonathan,
Jonathan Haws <Jonathan.Haws at sdl.usu.edu> writes:
> How can I get rid of the 'g1' prefix? I want the g1 prefix to be
> say "myxml". The 'g2' I would like to be "mygps".
You can assign preixes to namespaces like this:
doc_s.add_prefix ("myxml", "http://mywebsite");
doc_s.add_prefix ("mygps", "http://someotherwebsite");
See Section 8.1, "Document Serializer" for details:
http://www.codesynthesis.com/projects/xsde/documentation/cxx/serializer/guide/index.xhtml#8.1
Boris
More information about the xsde-users
mailing list