xml - Difference between Default Namespace and targetnamespace? null namespace? -


i've read through several posts found on google , wiki article namespace , xml scheme, , dont know.. cant quite understand difference between default namespace , targetnamespace..

so default namespace namespace used default (if no other namespace defined elements) while targetnamespace seems of same use?

also i've read, attributes default signed null namespace? nullnamespace?

in example:

<test xmlns="www.example.org" attribute1="1" attribute2="tbla" attribute3="helloworld">   <child1></child1> </test> 

so child1 in www.example.org namespace while attribute1 /attribute2 , attribute 3 in null namespace?

i think benefit question: why need targetnamespace?

my understanding targetnamespace developed match xml schema (.xsd) xml document using schema. above question , discussion answers in more depth.


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -