← Prev in month ← Prev in thread

Re: Re[2]: [xml-dev] Namespace: CSS in addition to prefix (was: CSS instead of Namespace)

From
Andrew Welch <>
To
Date
2008-02-21T10:56:49Z
ID
<>
Thread
Re: Re[2]: [xml-dev] Namespace: CSS in addition to prefix (was: CSS instead of Namespace)
On 20/02/2008, Robert Koberg <> 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/
← Prev in month ← Prev in thread