Michael,

Do I really need to declare a default namespace or can I just use
namespace everywhere in my code and it will be ok? Will declaring a
default namespace impact my existing code such as everything which is
not prefixed by namespace like function variable or function call?

Thanks,
-- Philippe

On Thu, May 24, 2012 at 10:23 PM, Philippe Rathé <[email protected]> wrote:
> Christian and Michael,
>
> indeed I'm overwhelmed by those new technologies. I just overlooked
> XML namespace!
> Thanks for your help.
>
> -- Philippe
>
> On Thu, May 24, 2012 at 11:58 AM, Christian Grün
> <[email protected]> wrote:
>>> But it works with this file
>>>
>>> <?xml version="1.0" encoding='utf-8'?>
>>> <feed xmlns="http://example.org";>
>>>  <title>Projects</title>
>>> </feed>
>>
>> ...indeed it shouldn't work, as Michael already pointed out. But you
>> are lucky; this issue has recently been fixed due to a bug report from
>> Andy Bunce, which means that it should work again with the latest
>> snapshot.
>>
>> Btw, if you know that there's only one namespace in your document, you
>> may as well use the wildcard instead of fully writing down your
>> namespace:
>>
>>  //*:feed
>>
>> C.
_______________________________________________
BaseX-Talk mailing list
[email protected]
https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk

Reply via email to