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

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:32:00 UTC