注意:支持命名空间的应用程序应使用命名空间名(namespace name)而不是命名空间前缀(namespace prefix)来标识元素[译注//命名空间名唯一地标识一个命名空间,而命名空间前缀则不一定。
基于12个网页-相关网页
采用有意义的命名空间名,例如产品名称或公司名称。
Use meaningful namespaces sUCh as the prod UCt name or the company name.
名称空间是一种避免函数名和类名出现冲突的方法,并且不会在命名约定中使用前缀,从而增强了函数名和类名的可读性。
Namespaces are a way of avoiding name collisions between functions and classes without using prefixes in naming conventions that make the names of your methods and classes unreadable.
结果的命名空间是原始目标对象uri,根名是被调用的方法名。
The namespace of the result is the original target object URI and the base name is the name of the method that was invoked.
应用推荐