Re: XML result set schema validation

Tony Opatha <tonyopatha@yahoo.com> writes:

> I am trying to design a XML schema for a SOAP message body.
>  
> I need to design the XML schema for a document that may need
> to be initialized with a XML fragment that may vary with
> different levels of details.

If I've understood you correctly, your best bet is xsi:nil -- this
allows you to validate an empty element even though the schema
requires it to have content.

ht
-- 
  Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
                      Half-time member of W3C Team
     2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
	    Fax: (44) 131 650-4587, e-mail: ht@cogsci.ed.ac.uk
		     URL: http://www.ltg.ed.ac.uk/~ht/
 [mail really from me _always_ has this .sig -- mail without it is forged spam]

Received on Wednesday, 18 June 2003 05:38:38 UTC