This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How namespaces are unique???



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@yahoo.com) 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]