Re: XML accessibility

On Thu, 27 Nov 1997, Daniel Dardailler wrote:

> How does a user-agent bind an arbitrary XML document to an
> independant style sheet without knowledge of the DTD ?

There is a convention using processing elements. 

  <?xml-stylesheet href="article.xsl" type="text/xsl" ?>

> We must make sure that at least the DTD name (as a unique ID of
> some kind) appear in every XML documents, so that client-side
> binding to a local "more accessible" style is always possible. 

Many xml files won't have DTD's, so you can't rely on this.

Regards,

-- Dave Raggett <dsr@w3.org> http://www.w3.org/People/Raggett
phone: +44 122 578 2984 (or 2521) +44 385 320 444 (gsm mobile)
World Wide Web Consortium (on assignment from HP Labs)

Received on Thursday, 27 November 1997 10:00:52 UTC