XML and namespaces
Ash Berlin
ash_cpan at firemirror.com
Mon Mar 17 19:32:43 GMT 2008
On 17 Mar 2008, at 19:22, Simon Wistow wrote:
> Say I have a document that looks like
>
>
> <foo xmlns:bar="http://example.com/bar">
> <bar:subelement attr="something">
> value
> </bar>
> </foo>
>
>
> is the elementname of the subelement "bar:subelement" or just
> "subelement"?
>
>
'Name' is an ambigious term. You need to either say Local name/part or
Qualified name: http://en.wikipedia.org/wiki/QName
-ash
More information about the london.pm
mailing list