XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: Re[2]: [xml-dev] Namespace: CSS in addition to prefix (was: CSS instead of Namespace)

On 20/02/2008, Robert Koberg <rob@koberg.com> wrote:
>
>  On Wed, 2008-02-20 at 16:10 +0200, Dmitry Turin wrote:
>  > Robert,
>  >
>  > RK> What happens when the same name appears in two different namespaces?
>  >
>  > Example, please (i will write my variant for your example).
>
>
> <a:article xmlns:a="a" xmlns:b="b">
>   <a:p>foo</a:p>
>   <b:p>bar</b:p>
>  </a:article>

or just

<xsl:template>
  <mycomp:template>

or when creating stylesheets from stylesheets:

<xsl:template ...>
  <xslt:template ...>

The whole point of namespaces is to allow elements with the same name
but different meanings to appear in the same document... it seems
really odd to ask for examples as if there's something unusual about
it.


-- 
Andrew Welch
http://andrewjwelch.com
Kernow: http://kernowforsaxon.sf.net/


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS