This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: namespace declarations
- To: xsl-list at mulberrytech dot com
- Subject: Re: namespace declarations
- From: Warren Hedley <w dot hedley at auckland dot ac dot nz>
- Date: Tue, 06 Jun 2000 14:59:07 -0400
- CC: alex chang <shortestpath at hotmail dot com>
- Organization: Department of Engineering Science, The University of Auckland
- References: <20000606153118.19933.qmail@hotmail.com>
- Reply-To: xsl-list at mulberrytech dot com
alex chang wrote:
>
> I saw this in one of the previous posts:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <?xml-stylesheet type="text/xsl" href="test.xsl"?>
According to "Associating Style Sheets with XML documents
( http://www.w3.org/TR/xml-stylesheet/ ), the proper way
is <?xml-stylesheet ... ?>.
In really old draft versions of the XSL spec, examples
included <?xml:stylesheet ... ?>. (See, for example,
http://www.w3.org/TR/1998/WD-xsl-19980818#AEN1334).
You should definitely use the former in your current
documents.
--
Warren Hedley
Department of Engineering Science
Auckland University
New Zealand
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list