This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes XML and Related Technologies and the fly likes is there any way to add inline schema with xml using jaxb Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Reply locked New topic
Author

is there any way to add inline schema with xml using jaxb

moin roy
Greenhorn

Joined: Mar 28, 2012
Posts: 15
is there any way to add inline schema with xml using jaxb?I want to mean that I need to add the schema with the schema generated xml file.I give an examole as given below



I can only generate xml file look like



but I can not add inline xmlschema with is xml.
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

There's no need to have three copies of this question. Here's a link to the one which already has discussion: http://www.coderanch.com/t/572015/XML/there-java-API-generate-xml, I'm closing this one.
 
Consider Paul's rocket mass heater.
 
subject: is there any way to add inline schema with xml using jaxb
 
Similar Threads
XMLSpy won't work with our AXIS2 WSDL but our system works with it fine
creating xml file with xml schema in java
XmlException on calling WSDL2Java
XML schema fails to load
Is there a java API to generate xml with an inline schema definition