Re: [xsl] Can an element have 2 namespaces?

Subject: Re: [xsl] Can an element have 2 namespaces?
From: Florent Georges <lists@xxxxxxxxxxxx>
Date: Mon, 9 Nov 2009 23:05:24 +0000 (GMT)
cert21 wrote:

> <?xml version="1.0" encoding="utf-8"?>
> <rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#";
>
xmlns:dc="http://purl.org/dc/elements/1.1/";
>
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/";
>
xmlns:admin="http://webns.net/mvcb/"; xmlns="http://purl.org/rss/1.0/";>

>
[...]

> Is it even a valid way to declare 2 namespaces together
> like this?
This is a general XML question.  The RSS namespace URI is bound as the default
namespace (with no prefix) and the RDF namespace URI is bound to the prefix
'rdf'.  Thus 'rdf:RDF' is an element with the local name 'RDF' in the RDF
namespace (the URI bound to the prefix 'rdf'.)

  I am not sure what exactly
the question is.

  Regards,

-- 
Florent Georges
http://www.fgeorges.org/

Current Thread