Click here to Skip to main content
15,885,546 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
when i use the (default) xmlns tag references xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" and xmlns:xsd="http://www.w3.org/2001/XMLSchema", does the serializer actually need a connection to internet to fetch these files?
Posted
Comments
joost.versteegen 13-Jun-12 10:24am    
thanx!
Sergey Alexandrovich Kryukov 13-Jun-12 20:25pm    
In fact, the question is important, but I must note that you could easily find the answer by yourself. Anyway, my 5 for asking. The answer by Sandeep is correct, I suggest you accept if formally (green button).
--SA

1 solution

Read all about what they mean and are for: http://www.w3schools.com/xml/xml_namespaces.asp[^]

Depending on the XML you define it. To your question, defining a URL in XMLNS defines the scema of the xml and gives it a namespace. It does not fetch anything, it's just that one can follow the schema at the given URL. "The namespace URI is not used by the parser to look up information."
 
Share this answer
 
Comments
VJ Reddy 13-Jun-12 10:51am    
Good reference. 5!
Sandeep Mewara 13-Jun-12 11:23am    
Thanks.
Sergey Alexandrovich Kryukov 13-Jun-12 20:26pm    
Correct, my 5. I also voted 5 for the question (see my comment to it though) and recommended OP to accept this answer formally.
--SA
Sandeep Mewara 13-Jun-12 23:26pm    
Thanks SA. :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900