Print

Print


Marcus Bingenheimer wrote:
>     Problem:
>     In DTD times the ID-IDREF(S) mechanism allowed us to verify if there was
> indeed a ID for each IDREF. Now the datatype of TARGETS is set to
> data.pointer which in turn is "anyURI" (that is also why all targets start
> with a "#" I guess).  How can I verify the URI is there? Is this possible at
> all?
>   
you can write (eg) an XSLt script to check.
that's what we do for the TEI sources. But remember
that the target may be in another document, which
is not even TEI XML
>     Question:
>     What do I have to write in my ODD to get a schema that checks if the
> URIs referenced in TARGETS do indeed appear in the text above?
>   
you can't, I am afraid. changing the datatype back to ID/IDREF
would break the conceptual model.

-- 
Sebastian Rahtz      

Information Manager, Oxford University Computing Services
13 Banbury Road, Oxford OX2 6NN. Phone +44 1865 283431