W3C home > Mailing lists > Public > xsl-editors@w3.org > October to December 1999

Re: request XSLT edit: remove "type" from links to embedded style in examples

From: James Clark <jjc@jclark.com>
Date: Sat, 06 Nov 1999 11:50:49 +0700
Message-ID: <3823B3A9.52596506@jclark.com>
To: Larry Masinter <masinter@parc.xerox.com>
CC: xsl-editors@w3.org, Makoto MURATA <murata.makoto@fujixerox.co.jp>, Ted Smith <Tsmith@parc.xerox.com>, Tim Berners-Lee <timbl@w3.org>
There's only one such example and its purpose is precisely to illustrate
embedding stylesheets. It's in a section entitled "Embedding
Stylesheets":

  http://www.w3.org/TR/xslt#section-Embedding-Stylesheets

Larry Masinter wrote:
> 
> How about changing the examples to use external style sheets rather
> than embedded ones? E.g., use "style.xsl" instead of "#style1"
> as the URI reference in the examples.
> 
>   <?xml-stylesheet type="text/xml" href="style.xsl"?>
> 
> Then we can try to issue a rev or errata note about the
> problem with "Associating Style Sheets with XML documents"
> independently.
> 
> Larry
> --
> http://www.parc.xerox.com/masinter
> 
> > -----Original Message-----
> > From: James Clark [mailto:jjc@jclark.com]
> > Sent: Friday, November 05, 1999 8:00 PM
> > To: Larry Masinter
> > Cc: xsl-editors@w3.org; Makoto MURATA; Ted Smith; Tim Berners-Lee
> > Subject: Re: request XSLT edit: remove "type" from links to embedded
> > style in examples
> >
> >
> > Larry Masinter wrote:
> > >
> > > I was told this change was trivial enough that
> > > it wasn't necessary for us to change our vote.
> > > ====================
> > >
> > > The pseudo-attribute "type" in examples such as
> > >
> > >    <?xml-stylesheet type="text/xml" href="#style1"?>
> > >
> > > should be dropped.
> > >
> > > The use of "type" for embedded XSLT stylesheets is not justified by
> > > any specifications.  <LINK REL="stylesheet"> in HTML 4.0 references to
> > > EXTERNAL style sheets only.  In fact, the title of the relevant subsection
> > > is "12.3.2 Links and EXTERNAL style sheets".  The recommendation
> > > "Associating Style Sheets with XML documents" merely references to
> > > HTML 4.0, and thus it does not allow reference to internally embedded
> > > stylesheets.
> >
> > In the "Associating Style Sheets with XML documents" Recommendation, the
> > "type" pseudo-attribute is required:
> >
> > > The following pseudo attributes are defined
> > >
> > >              href CDATA #REQUIRED
> > >              type CDATA #REQUIRED
> > >              title CDATA #IMPLIED
> > >              media CDATA #IMPLIED
> > >              charset CDATA #IMPLIED
> > >              alternate (yes|no) "no"
> >
> > Maybe this is broken, but I don't think it's up to the XSLT spec to fix
> > it.
> >
> > James
> >
> >
Received on Friday, 5 November 1999 23:51:19 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:59:49 GMT