随着越来越多的使用属性选择器,最终将与处理节点一样经常地使用值(来自属性)。
As you start to use attribute selectors more and more, you'll end up working with values (from attributes) as much as you work with nodes.
因此对于属性选择器,返回值(虽然不确切但是很有用)是一个值,对于一个元素则是一个节点集(包含一个节点)。
So the return value (sort of a misnomer, but still a useful way to think about things) for an attribute selector is a value; for an element, it's a node set (containing a single node).
随着IE7介绍了其对属性选择器(attribute selector)的支持,市场上大概50%的用户可以使用这一特性了。
With IE7 introducing support for attribute selectors, roughly 50% of the market can use those.
虽然全局选择器基本上设置的是一个属性的默认值,该值很容易被覆盖。
Although the global selector basically sets a default value of a property, that value is easily overridden.
该选择器是具有样式属性的不同元素和类。
The selectors are the different elements and classes that have style properties.
我们讨论了处理传入和传出的JMS消息所必需的数据绑定和函数选择器代码,以及导出和导入所需的绑定属性。
We discussed the data binding and function selector code that is required to handle incoming and outgoing JMS messages, as well as the necessary binding properties for the export and import.
更高级的JMS客户端配置,如添加对进入的消息进行筛选的消息选择器,也可以作为节点属性进行配置。
More advanced JMS client configurations, such as adding message selectors to filter incoming messages, are also configurable as node properties.
只有消息头和属性符合选择器要求的那些消息才会被传送。
Only messages whose headers and properties match the selector are delivered.
在导出的绑定属性中,在Connection选项卡的高级设置下,对函数选择器进行了定义,如图1 所示。
The function selector is defined in the binding properties of the export, under the Advanced settings of the Connection tab, as shown in Figure 1.
这些代码表明div选择器继承了一个属性,以将文本居中。
The code says that the div selector inherits a property to center the text.
发布到SIBus的消息中,只有Header和属性与选择器匹配的消息才会发送到特定MDB。
Only messages published on the SIBus whose headers and properties match the selector will be sent to that specific MDB.
它还假设在正文选择器中,字体大小属性的值被设置为1em。
It also assumes that in the body selector, the value of the font size property is set to 1em.
将结果应用到 div选择器的宽度属性。
You apply the result to the width property in the div selector.
清单5显示正文选择器的字体大小属性为1em。
Listing 5 shows the font size property for the body selector as 1 em.
接下来,将把结果应用到 p选择器的font-size属性中,如清单8 所示。
Next, I apply the result to the font-size property in the p selector, as shown in Listing 8.
主题DTD中的多数元素都包含一组统一的属性,使元素可以用作选择器、过滤器、内容引用基础设施和多语言支持。
Most elements in the topic DTD contain a set of universal attributes that enable the elements to be used as selectors, filters, content referencing infrastructure, and multi-language support.
通过为正文选择器(body selector,也称为块级元素)的font-size属性分配 62.5% 的值可以减小这个字体大小,如清单2 所示。
You can reduce this font size by assigning 62.5% to the font-size property of the body selector (also known as the block-level element) like shown in Listing 2.
我们建议在给选择器起名时加个前缀,以确保它不会和任何标准的HTML属性冲突,无论是现在还是未来。
We recommend picking a selector name with a prefix to ensure that it cannot conflict with any standard HTML attribute, now or in the future.
对于布局,我们主要使用ID属性;对于重复的元素或者使用CSS选择器难以识别出的元素,使用class属性。
We use id attributes mainly for layout and class attributes, for repeated elements, or elements we know will be hard to identify using a CSS selector.
在Formatdate函数属性的General选项卡内还可以使用一个日期选择器,它可以作为输入的日期和时间使用。
A date picker is also available within the General TAB of the Format date function properties, which can be applied as the input date and time.
可视化设计器应该使用该属性来确定是否在数据绑定选择器中显示特定的列表。
A visual designer should use this attribute to determine whether to display a particular list in a data-binding picker.
坚持用小驼峰形式拼写非元素选择器,除非该选择器用于匹配原生HTML属性。
Do spell non-element selectors in lower camel case unless the selector is meant to match a native HTML attribute.
有一个现有的或即将到来的CSS3选择器的属性的名称匹配的子串?
Is there an existing or upcoming CSS3 selector for matching substrings of attribute names?
我认为我的问题的核心是其是否可能在运行时设置一个未知属性的另一种方式除了调用选择器就像我在做。
I think the core of my question is whether or not its possible to set an unknown property at runtime another way besides calling the selector like I'm doing.
我认为我的问题的核心是其是否可能在运行时设置一个未知属性的另一种方式除了调用选择器就像我在做。
I think the core of my question is whether or not its possible to set an unknown property at runtime another way besides calling the selector like I'm doing.
应用推荐