logo       

Re: XML Schema for XTM DTD: msg#00061

text.xml.xtm.general

Subject: Re: XML Schema for XTM DTD

[Steve Pepper

> (2) To the extent that DTDs do not formally support all the constraints
> required by XTM, should the XSD and RELAX-NG versions state those
> constraints formally?
> Some examples:
> - the value of an xlink:href attribute must be a URI

Can do with XML Schema (datatype: "anyURI"). Since RNG can use the XML
Schema datatypes, I presume you can state it in RNG too.

> - <topicRef> elements must reference <topic> elements
>

I think the only schema language for XML that could say that is Schematron.

Cheers,

Tom P


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise