Re: namespace declarations

Subject: Re: namespace declarations
From: Warren Hedley <w.hedley@xxxxxxxxxxxxxx>
Date: Tue, 06 Jun 2000 14:59:07 -0400
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


Current Thread