Re: Processing Instruction names: specifically, xml-stylesheet

Kay Michael wrote:
> 
> 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

You mean 17 I think.

> says that a PITarget is a Name other than one
> beginning with the letters "xml" in either upper or lower case.

It doesn't say this.  It says it is a name other than one that *is*
"xml" in upper or lower case.

> Is it intended that an XSLT processor should be able to output an
> <?xml-stylesheet?> PI, or not?

It is allowed because it is a PITarget.

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

They too would be allowed because they are PITargets.

James

Received on Tuesday, 30 November 1999 19:52:19 UTC