[Home] [By Thread] [By Date] [Recent Entries]

  • From: "Andrew Welch" <andrew.j.welch@g...>
  • To: rob@k...
  • Date: Thu, 21 Feb 2008 10:56:49 +0000

On 20/02/2008, Robert Koberg <rob@k...> 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]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member