[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Namespace Identifiers - URI, URN, URL?

Subject: Re: Namespace Identifiers - URI, URN, URL?
From: "Rafael 'Dido' Sevilla" <sevillar@xxxxxxxxxxxxxxxxx>
Date: Wed, 29 Aug 2001 20:25:49 +0800
xmlns namespace uri internet connection
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.