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

Processing Instruction names: specifically, xml-stylesheet

From: Kay Michael <Michael.Kay@icl.com>
Date: Tue, 30 Nov 1999 17:42:30 -0000
Message-ID: <93CB64052F94D211BC5D0010A800133101FDE814@wwmess3.bra01.icl.co.uk>
To: "'xsl-editors@w3.org'" <xsl-editors@w3.org>
XSLT Section 7.3 states that <xsl:processing-instruction> cannot be used to
output a PI unless its name is both an NCName and a PITarget.

XML production rule 26 says that a PITarget is a Name other than one
beginning with the letters "xml" in either upper or lower case. But the text
says in effect that names beginning "xml" are allowed if they have been
standardized in "this or future versions of this specification".

"Associating Style Sheets with XML documents Version 1.0" introduces the PI
<?xml-stylesheet?> which violates this rule, unless one interprets that
document as a future version of the XML specification.

Is it intended that an XSLT processor should be able to output an
<?xml-stylesheet?> PI, or not? (It's actually a useful thing to do, because
it allows you to use XSLT for transformation and then CSS for rendition).

What if other reserved PITarget names are introduced in "this or future
versions of [the XML] specification"?

Mike Kay
Received on Tuesday, 30 November 1999 14:33:37 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:44:17 UTC