<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">2014-03-11 14:49 GMT+01:00 Martin Bjorklund <span dir="ltr"><<a href="mailto:mbj@tail-f.com" target="_blank">mbj@tail-f.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<div class=""><br>
Siri Hansen <<a href="mailto:erlangsiri@gmail.com">erlangsiri@gmail.com</a>> wrote:<br>
> Would this also work ?<br>
><br>
> <?xml version=\"1.0\" encoding=\"UTF-8\"?><br>
> <rpc message-id=\"1\" xmlns=\"urn:ietf:params:xml:ns:netconf:base:1.0\"><br>
> <edit-config><br>
> <target><br>
> <running/><br>
> </target><br>
> <config><br>
> <ElementA><br>
> <elementAId>1</elementAId><br>
> <elementB><br>
> <elementB>1</elementB><br>
> <elementC operation=\"delete\"><br>
> <elementCId>6</elementCId><br>
> </elementC><br>
> </elementB><br>
> </ElementA><br>
> </config><br>
> </edit-config><br>
> </rpc><br>
><br>
><br>
> i.e. without the 'xc' prefix (the netconf base namespace is the default<br>
> anyway).<br>
<br>
</div>This is actually not how default namespaces work. The default<br>
namespace does not apply to XML attributes.<br>
<div class=""><br></div></blockquote><div><br></div><div>Thanks, Martin, for pointing that out! Is this a fact in general or do you mean that the default namespace would not apply to an XML attribute which is located inside an XML element that is not part of the default namespace?</div>
<div><br></div><div>I mean, would the default namespace apply an attribute in e.g. the 'config' element?</div><div><br></div><div>/siri</div><div><br></div></div></div></div>