jaxb - How to get the root element in Moxy -


i trying create xml analyzing xsd using moxy. not aware of how xsd looks like. xsd provided on fly. using moxy able load xsd , print details of xmldescriptors. question is, how identify root element.

thanks

having xsd, global type can root element of xml document. such global type, use method

org.eclipse.persistence.oxm.xmldescriptor#getdefaultrootelement 

to name of root element.


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -