| Author |
XML Schema and JAXB
|
Joe Harry
Ranch Hand
Joined: Sep 26, 2006
Posts: 8795
|
|
Guys, I do not understand one thing from the tutorials that I see from SUN is that to use JAXB, we need only a Schema defined and from the schema, we derive the Java sources. From where do the XML come from? As far as I understood, from the Java Sources we can marshall it to an XML document. Am I right? I'm referring to the tutorial here.
|
SCJP 1.4, SCWCD 1.4 - Hints for you, SCBCD Hints - Demnachst, SCDJWS - Auch Demnachst
Did a rm -R / to find out that I lost my entire Linux installation!
|
 |
Joe Harry
Ranch Hand
Joined: Sep 26, 2006
Posts: 8795
|
|
Can anyone please help me on how I can represent a Collection type in an XML Schema? For example, I have in my Java class (I'm using JAXB) as follows, How can I represent the above Collection variable in an XML schema?
|
 |
Moshe Elisha
Greenhorn
Joined: Jun 11, 2007
Posts: 2
|
|
You can try looking here: Practical XML Schema
|
 |
 |
|
|
subject: XML Schema and JAXB
|
|
|