Title: Can i handle pairs of tags
I imagine that question is : "how can I handle it in XSD schema ?"
 
In this case, you must write :
 
<sequence minOccurs="0" maxOccurs="unbounded">
  <element name="precision">
  <element name="value">
</sequence>
 
You don't have to specify minOccurs and maxOccurs for element "precision" and element "value" beacause default value is 1.
 
I hope it will help you.
 
Bye
 
Olivier Coppel


-----Message d'origine-----
De : Enrique Rodr�guez [mailto:[EMAIL PROTECTED]]
Envoy� : mercredi 6 novembre 2002 14:16
� : [EMAIL PROTECTED]
Objet : [castor-dev] Can i handle pairs of tags

I have a defined XML that look like this


<Precision>From</Precision>
<value>5</value>
<Precision>To</Precision>
<value>5000000</value>

One can't be without the other, how can i handle it???


Thank you very much.

Reply via email to