This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes Web Services and the fly likes XSD from this XML Instance Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "XSD from this XML Instance" Watch "XSD from this XML Instance" New topic

XSD from this XML Instance

Richard Butterwood
Ranch Hand

Joined: Nov 07, 2005
Posts: 45

Can someone help me with the XSD of the following XML instance?

<?xml version="1.0" encoding="UTF-8"?>
<ResponseBatch xmlns:xsi=""
<Response xmlns="" RequestID="CustomerItemNumber" SerialID="54321" Company="12">


<Response xmlns="" RequestID="Codes" SerialID="54321" Company="12">


Basically I want to have multiple Response elements with different elements inside. I thought this would be possible with different namespaces?

Any clues?
I agree. Here's the link:
subject: XSD from this XML Instance
It's not a secret anymore!