Altova Mailing List Archives>Archive Index >xmlschema-dev Archive Home >Recent entries >Thread Prev - RE: How to use DTD and Schema in the single XML file? >Thread Next - Re: conditional expression conditional expressionTo: xmlschema-dev@--.--- Date: 7/26/2006 5:09:00 PM Hi all! I have this problem on validation with xsd. The xml file has a particular tag: when his value is "TCP" the xml file must have other two tags, when his value is "OUR" there should be no other tags. So the xml should be either <special-tag type="string" value="TCP"/> <host type="string" value="192.168.72.26"/> <port type="int" value="10202"/> or <special-tag type="string" value="OUR"/> Is there some way to do this with xsd? Thank you very much for your help! Debora From george@o... Wed Jul 26 13:38:54 | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
