JAXB%20Interview%20Questions%20and%20Answers
Question: Give me an example of XML document.Answer: <?xml version="1.0" encoding="UTF-8"?><cars xmlns="http://www.withoutbook.com/cars" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.withoutbook.com/cars cars.xsd"> <car year="2001"> <make>BMW</make> <model>Z3</model> <color>yellow</color> </car> <car year="2001"> <make>Honda</make> <model>Odyssey</model> <color>green</color> </car> <car year="1997"> <make>Saturn</make> <model>SC2</model> <color>purple</color> </car> </cars> |
Is it helpful?
Yes
No
Most helpful rated by users:
- What Is XML Binding?
- What is XML Binding Relationships?
- Please explain JAXB Use Cases.
- Why Use XML Binding?
- What are the goals of JAXB?