[
Lists Home |
Date Index |
Thread Index
]
doc.resolveExternals = true;
doc.validateOnParse = true;
doc.load(foo);
Khurram Chaudhary wrote:
> Hello Guys,
>
> This xsd is bothering me, please help us out.
>
> I receive an XML string which contains 6 tags. All the six tags are
> optional but one of six has to be present so I can carry on my search on
> the database. I want to validate these tags with a xsd, and I can't
> figure out how to put this restriction in a xsd.
>
> Can anybody please help us on this thanks.
>
> Khurram
>
> _________________________________________________________________
> Tired of 56k? Get a FREE BT Broadband connection
> http://www.msn.co.uk/specials/btbroadband
>
>
> -----------------------------------------------------------------
> The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
> initiative of OASIS <http://www.oasis-open.org>
>
> The list archives are at http://lists.xml.org/archives/xml-dev/
>
> To subscribe or unsubscribe from this list use the subscription
> manager: <http://lists.xml.org/ob/adm.pl>
>
>
--
Manos Batsis
Netsmart S.A.
Snail mail:
Panepistimiou 58,
10678, Athens, Hellas
URL: http://www.netsmart.gr
Email: mbatsis at netsmart dot gr
Tel: (+30) 210 33 02 608
Fax: (+30) 210 33 02 658
FOAF: http://forte.netsmart.gr/foaf/manos_foaf.rdf
|