[xsl] Re: your mail

Subject: [xsl] Re: your mail
From: Mike Brown <mike@xxxxxxxx>
Date: Wed, 19 Mar 2003 11:36:41 -0700 (MST)
ALAMI Ahmed wrote:
> 	Is there a way to transform XML documents with XSL stylesheets offline, that means without specifying the namespace of the stylesheet.
> 	example : 
> 
> <?xml version="1.0" encoding="ISO-8859-1"?>
> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; version="1.0">
> 
> 
> with
> 
> <?xml version="1.0" encoding="ISO-8859-1"?>
> <xsl:stylesheet xmlns:xsl=LOCAL_URI>

You misunderstand namespaces. They are just identifiers.
There is no network traffic associated with them.

In other words, "http://www.w3.org/1999/XSL/Transform"; is a special string
that indicates to the XSLT processor that the elements associated with that
string (by virtue of using the prefix 'xsl', in this case, although you could
use any prefix) are in fact XSLT instructions and not literal result elements.

Mike

-- 
  Mike J. Brown   |  http://skew.org/~mike/resume/
  Denver, CO, USA |  http://skew.org/xml/

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread