xmlns属性需要互联网吗? [英] xmlns attribute needs internet?

查看:98
本文介绍了xmlns属性需要互联网吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我使用(默认)xmlns标记引用xmlns:xsi ="http://www.w3.org/2001/XMLSchema-instance"和xmlns:xsd ="http://www.w3.org/2001/XMLSchema",那么序列化程序实际上是否需要连接到互联网来获取这些文件?

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?

推荐答案

阅读所有有关其含义和含义的信息:http://www.w3schools.com/xml/xml_namespaces.asp [
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."


这篇关于xmlns属性需要互联网吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆