mlse
01-27-2009, 02:44 PM
Consider an element <aaa> that contains <bbb>, in the following 3 examples:
<aaa xmlns="http:www.whatever.com">
<bbb />
</aaa>
<root xmlns:x="http:www.whatever.com">
<x:aaa>
<x:bbb />
</x:aaa>
</root>
<root xmlns:x="http:www.whatever.com">
<x:aaa>
<bbb />
</x:aaa>
</root>
I know that in the first two examples, both <aaa> and <bbb> are part of the namespace x but is <bbb> part of x in the third example?
<aaa xmlns="http:www.whatever.com">
<bbb />
</aaa>
<root xmlns:x="http:www.whatever.com">
<x:aaa>
<x:bbb />
</x:aaa>
</root>
<root xmlns:x="http:www.whatever.com">
<x:aaa>
<bbb />
</x:aaa>
</root>
I know that in the first two examples, both <aaa> and <bbb> are part of the namespace x but is <bbb> part of x in the third example?