I posted this in XML forum, but didn't got any reply.. but since it is related to Java also, so posting it here as well...
I am very new to XML.. never done it, so kindly be patient..
I want to build a xml
where I have order
in order there can be many allocations
in allocation there can be many execution
also, order has price, quantity, clientId etc fields
allocation has price, quantity, account etc fields
exeuctions has price quantity, id etc fields
I want to do it the right way --- to build schema or dtd first and based on that create a xml
objective is that finally we will use this dtd/schema to automatically create XML using java ...
and then somehow based on XML-- build automatically the java objects --- like Order Object .. Allocation Object etc..
I have all these objects in java already but rest of the stuff needs to be done..
Please help me create this...
again, sorry, I am very new to XML -- don't know much about basics of it.. so kindly be patient answering my basic questions...