清单7显示了一个相似的查询,但是这次也使用一些与服务相关的信息,即希望得到的命名空间(Namespace)名字。
Listing 7 shows a similar query but this time some of the service-related information is also used, namely the desired namespace name.
该空间航天器的名字Ikaros刚好暗合希腊神话人物伊卡洛斯(Icarus),他使用蜡和羽毛造的翼逃离克里特岛时,因飞得太高,靠太阳太近,双翼上的蜡融化而跌落海中。不过津田佑一承诺这个Ikaros将不会飞入太阳。
The name of the spacecraft alludes to Icarus, the figure from Greek mythology who flew too close to the sun and fell into the sea, but Tsuda promised that "this Ikaros will not fly into the sun".
或使用Spring 2.0的模式名字空间。
为了引用和简化名称空间的名字,同样要使用xmlns声明。
To refer to and abbreviate the name of a namespace, again use XMLNS declarations.
如果使用常规规范化,载荷将包括原始消息祖先元素的上下文,以及所有的名字空间声明和xmlns名称空间中的属性。
If normal canonicalization is used, the payload will include the context of its original message's ancestor elements, and all namespace declarations and attributes in the XMLNS namespace.
清单6:使用来自多个模式的多个名称空间的名字。
Listing 6: Using multiple namespace names from multiple schemas.
“绿色在室内被大量使用,因为它是客户最喜欢的颜色,公司的名字——也代表自然元素引进这个空间,”工作室说。
"Green is heavily used in the interior because it's the client's favourite colour, name of the company - but also to represent the natural elements brought into the space," said the studio.
当输入了一个类定义,一个新的名字空间被创建,并作为局部域使用——这样,所有对局部变量的赋值都将进入这个新的名字空间。
When a class definition is entered a new namespace is created and used as the local scope - thus all assignments to local variables go into this new namespace.
一般,得到工作于名字空间、函数、类作用域的优秀的静态断言要比多使用一个难看的宏要值得。
The general conclusion was that the good of a static assert working at namespace, function, and class scope outweighed the ugliness of a macro.
本页面列出模板名字空间下所有未被其他页面使用的页面。请在删除这些模板前检查其他链入该模板的页面。
This page lists all pages in the template namespace which are not included in another page. Remember to check for other links to the templates before deleting them.
当前绝大部分的名字空间使用Python的字典实现,不过这在任何情况下(效率除外)都不明显,在将来也许会改变这种方式。
Most namespaces are currently implemented as Python dictionaries but that's normally not noticeable in any way (except for performance) and it may change in the future.
当前绝大部分的名字空间使用Python的字典实现,不过这在任何情况下(效率除外)都不明显,在将来也许会改变这种方式。
Most namespaces are currently implemented as Python dictionaries but that's normally not noticeable in any way (except for performance) and it may change in the future.
应用推荐