Re: [xsl] How namespaces are unique???

Subject: Re: [xsl] How namespaces are unique???
From: Salvatore Mangano <smangano@xxxxxxxxxx>
Date: Thu, 30 May 2002 08:26:14 -0400
The prefix is not the namespace it is only a short alias for 
it. If your were processing these documents at the same time 
with xslt it would not complain. But in your stylesheet you 
will have to provide your own unique prefixes for these 
namespaces if tou want to refer to their elements.

<xsl:stylesheet xmlns:calp="http://url1.com/meta/calp"; 
xmlns:calb="http://url2.com/bit/calbit"; ...>

</xsl:stylesheet>




---- On Thu, 30 May 2002, Mailer Mailer 
(maillistboxes@xxxxxxxxx) wrote:

> Hello All,
> 
> I had a problem recently, that I was using XML from
> different sources and both the sources had namespace
> of same name, the name used was "calp"
> 
> both had namespace definition like this:
> 
> xmlns:calp="http://url1.com/meta/calp";
> 
> xmlns:calp-"http://url2.com/bit/calbit";
> 
> 
> Can anyone explain me how namespace is resolving the
> conflict, when the these prefix names are same???
> 
> I'll be thankful if someone can help me in this.
> 
> 
> Regards
> Dennis
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! - Official partner of 2002 FIFA World Cup
> http://fifaworldcup.yahoo.com
> 
>  XSL-List info and archive:  
http://www.mulberrytech.com/xsl/xsl-list
> 
> 
> 


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


Current Thread