This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Is it legal to extend the xml-stylesheet DTD ?
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: Is it legal to extend the xml-stylesheet DTD ?
- From: Kay Michael <Michael dot Kay at icl dot com>
- Date: Mon, 12 Jun 2000 14:40:23 +0100
- Reply-To: xsl-list at mulberrytech dot com
> <?xml-stylesheet
> type="text/xsl"
> media="html"
> title="Developers Job Summary (Slate)"
> href="../../xsl/slate.xsl"
> alternate="yes"
> suffix=".html"
> ?>
In XML, a processing-instruction does not have attributes, it just contains
unstructured text. That is why these things are "pseudo-attributes": they
will not be unpicked by the XML parser, rather by the application.
Therefore, the DTD has nothing to say on the matter.
Whether adding an extra pseudo-attribute is within the requirements of the
"associating stylesheets" spec is another matter. I think it's silent on the
question.
Mike Kay
>
>
> Here I've created the attribute "suffix" which is not in the spec, and
> used it for purposes of my own.
>
> <reference> http://www.w3.org/TR/xml-stylesheet/ </reference>
>
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list