Re: assigning schema to appInfo elements

"Bob Schloss" <rschloss@us.ibm.com> writes:

> There might be a way of specifying your own element, call it
> MattAppInfo, and specifying that it is in the substitution group
> with the appInfo element.  Then your element would have a complex
> type which would have the grammar you want.

Actually this is not allowed, although it's so reasonable I wish it
were.  As it stands _no_ element in the xs: namespace can be substituted,
because 'blockDefault' is '#all' at the top of the SforS.

> Another approach would be to insert some kind of XLink element in
> the content of appInfo which would point to your instructions held
> in a parallel XML document.  You can then have a schema for that
> parallel document.

That would work.

ht
-- 
  Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
          W3C Fellow 1999--2001, part-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/

Received on Monday, 5 March 2001 11:38:42 UTC