Re: Element points to foreign doc & schema

"Michael Ryan Bannnon" <mrbannon@uwaterloo.ca> writes:

> Is the following possible?
> In my schema, I need an element to be of a type that is defined outside of the current schema.  This should be easy enough be using <import> or <include>.
> 
> However, what I really want is for this elemnt to be a pointer (an <XPoinnter>?) to another resource.  Thus, in my schema, I want to be able to define an element such that:
> 
> a) it allows for the element to point to an outside resource/instance
> b) the schema for this instance is foreign to the current schema that defines this pointner element, but the pointer element forces use of that schema
> 
> Is this possible?  

Not with XPointer, no.  You could of course (shudder :-) use an entity
reference.  But note that unlike <import>, the schemaLocation
attribute of an <include> _must_ be processed.

ht
-- 
  Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
          W3C Fellow 1999--2002, 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/
 [mail really from me _always_ has this .sig -- mail without it is forged spam]

Received on Wednesday, 20 November 2002 16:26:20 UTC