Subject: Re: [xsl] Namespace Identifiers - URI, URN, URL? From: "Rafael 'Dido' Sevilla" <sevillar@xxxxxxxxxxxxxxxxx> Date: Wed, 29 Aug 2001 20:25:49 +0800 |
On Wed, Aug 29, 2001 at 07:25:12AM -0400, Hewko, Doug wrote: > We all know the prolog of our XSL documents look something like this; > > <?xml version="1.0" ?> > <xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl"> > Someone who still uses the MSXSL dialect :) > Does the namespace 'xmlns:xsl="http://www.w3.org/TR/WD-xsl"' actually refer > to a URL or is this an alias that is contained within my XML parser? I can > not disable my internet connection from work, so I can not test whether when > I open my XSL document, if "www.w3.org/TR/WD-xsl" is actually being > referenced or if not. > You don't seem to understand how XML Namespaces really work. Read http://www.jclark.com/xml/xmlns.htm for an explanation of what the URI in a namespace declaration is for and what it signifies. Short answer: it doesn't need to point to anything. It's just an identifier that identifies the namespace you're using. By the way, you should really be using "http://www.w3.org/1999/XSL/Transform" instead of "http://www.w3.org/TR/WD-xsl". That refers to an older, deprecated version of the standard which nobody but microsoft has an interest in supporting. -- Rafael R. Sevilla <sevillar@xxxxxxxxxxxxxxxxx> +63(2) 8177746 ext. 8311 Programmer, InterdotNet Philippines +63(917) 4458925 http://dido.engr.internet.org.ph/ OpenPGP Key ID: 0x5CDA17D8 XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Namespace Identifiers - U, Chris Bayes | Thread | Re: [xsl] Namespace Identifiers - U, Michael Beddow |
[xsl] Loop, Carlos Durand Silves | Date | RE: [xsl] Namespace Identifiers - U, Julian Reschke |
Month |