Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

XSD from this XML Instance

 
Richard Butterwood
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

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

<?xml version="1.0" encoding="UTF-8"?>
<ResponseBatch xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://infor.com/FactsResponseBatch"
ConsumerKey="1234"
Language="English"
DateTime="today"
SerialID="0011111">
<Response xmlns="http://infor.com/FactsItemBalance" RequestID="CustomerItemNumber" SerialID="54321" Company="12">
<Warehouses>
<Warehouse>
...............
</Warehouse>
</Warehouses>

</Response>

<Response xmlns="http://infor.com/FactsCodes" RequestID="Codes" SerialID="54321" Company="12">
<Codes>
<Code>
</Code>
</Codes>

</Response>
</ResponseBatch>

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

Any clues?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic