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