How to marshal an xml file in such a way that a particular part of the xsd should be generated more than once
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   ashok_kumar
Posted On:   Tuesday, March 21, 2006 09:53 AM

i got the following xsd <?xml version="1.0" encoding="UTF-8"?> Unique ID to maintain the state Name of the Service Acknowledgement for multiple invoices being persisted Status of the Process Invoice Id Invoice Status in this i need to generate two nodes of type "AckPersistInvoiceId" with in the same xml file. Is there any way to do it. Reply me ASAP Plz.    More>>

i got the following xsd

			
<?xml version="1.0" encoding="UTF-8"?>







Unique ID to maintain the state




Name of the Service




Acknowledgement for multiple invoices being persisted









Status of the Process




Invoice Id




Invoice Status






in this i need to generate two nodes of type "AckPersistInvoiceId" with in the same xml file. Is there any way to do it. Reply me ASAP Plz.    <<Less

Re: How to marshal an xml file in such a way that a particular part of the xsd should be generated more than once

Posted By:   srik_n  
Posted On:   Sunday, June 11, 2006 10:45 AM

you can always express the occurance using minOccurs="n" or maxOccurs="n" where n is any +ve integer
For eg.

Re: How to marshal an xml file in such a way that a particular part of the xsd should be generated more than once

Posted By:   Roseanne_Zhang  
Posted On:   Tuesday, March 21, 2006 12:42 PM

Please use
 tag to make your code readable. I changed above for you this time. Thanks!
About | Sitemap | Contact