Connecting Tech Pros Worldwide Forums | Help | Site Map

how to include xchema namespave in the instantiated xml in jaxb

Newbie
 
Join Date: Aug 2009
Posts: 8
#1: Sep 2 '09
Hey guys,

I am using an xsd to generate an xml file. For this I'm using jaxb from "https://jaxb.dev.java.net/2.1.9/JAXB2_20081030.jar".
I have successfully managed to create marshal for a context and generated the xml for the xsd.
However I have not been able to include the XSD namespace, target namespace etc
in my generated xml file.
Can you guys please help me on this.
Thanks in advance
Dököll's Avatar
Moderator
 
Join Date: Nov 2006
Location: Upstate NY - US
Posts: 2,268
#2: 5 Days Ago

re: how to include xchema namespave in the instantiated xml in jaxb


Sorry you did not get a reply on this one, just pushing it forward for another look.

If you did find the answer, please post it, otherwise, stay tuned:-)
Reply

Tags
generate, jaxb, namespace, xml, xsd