If there is a corresponding element, the attributes will be synchronized according to the attribute mappings defined in the template.
如果有相关的元素,那么属性将会根据在模板中定义的映射属性来得到同步化。
In the domain project, templates are provided with a UI binding which includes a palette path attribute that links the template to one or more drawers or stacks.
在域项目之中,模板是同绑定的UI一起提供的,它包含了一个配置板路径属性,将模板与一个或者更多的折叠项或栈联系起来。
The second template copies all attributes to the output, except that it ignores the attribute value.
第二个模板将所有属性复制到输出中,但省略了属性值。
This expression produces a conjunction of predicates based on the attribute values of the given template instance.
这个表达式根据给定模板实例的属性值生成一个联合谓词。
Edit this template and add a styleClass attribute.
编辑该模板并添加一个styleclass属性。
The template rule simply looks in the class attribute for the ancestor element name, and renames the current element to match.
模板规则只需要查看class属性中的祖先元素名,然后重命名当前元素以与其匹配。
This is done by adding the type attribute to the body element in the template file.
通过向模板文件的body元素中添加type属性可以实现这一点。
The template sets the font for the line of text (and, therefore, the height of the line) using the element's height attribute.
该模板将使用元素的height属性设置文本行的字体(并因此设置行的高度)。
Add template rules that match those elements, based on their class attribute content.
增加和这些元素按照class属性内容匹配的模板规则。
The author of this template forgot (or didn't know) that the identifier attribute on a thing was spelled thingid, not id.
此模板的创作者忘记(或不知道)一件事情的属性的标识符应该拼写为thingid,而不是id。
Line 1 defines, with the "match" attribute, the element that will allow the use of this template in the transformation process.
第1行用“match”属性定义在转换过程中将允许使用该模板的元素。
Applying an XSLT template based on class attribute values allows a transform to be applied to whole branches of element types, instead of just a single element type.
根据class属性值设计XSLT模板可以让转换应用于整个元素类型分支而不仅仅是单个元素类型。
Notice that the XSLT template creates a variable to hold the value of the color attribute.
注意:该XSLT模板创建一个变量以保存color属性的值。
It will also work on step and appstep elements, even though it doesn't know what they are specifically, because the class attribute tells the template what they are generally.
它可用于step和appstep元素,即使不知道它们的具体类型,因为class属性告诉了模板它们的一般类型。
Notice that the template uses the src attribute as-is, and the processor adds the unit of measurement to the width and height attributes as needed.
注意:模板按原样使用src属性,而处理器根据需要将长度单位添加到width和height属性。
The code also creates a sourceForm variable to hold the value of the sourceForm attribute you defined in the new template.
上述代码还创建一个sourceForm变量来容纳新模板中定义的 sourceForm属性的值。
For example, a page that wants to use this template file needs to use the define tag, specifying for its name attribute the same name value referenced in the insert tag.
例如,一个准备使用该模板的页面需要使用define标记,将其name属性指定为insert标记中所引用的同一name值。
Modify the template of the ClickToCall widget to include an attribute that indicates the name of the form from which to copy elements.
修改ClickToCall小部件的模板来包含一个属性,标明用于从中复制元素的表单。
Next, use the value of this attribute to implement the conditions that choose a container holding the translated object template in a Rational Publishing Engine template.
接下来,使用该属性的值来执行条件,该条件会选择容器,这种容器会维持RationalPublishingEngine模板中的转化对象模板。
The output of each node template was structured consistently, usually contained within a DIV element whose class attribute value would describe the template being used.
每个节点模板的输出采用一致的结构,通常是将输出包围在一个DIV元素中,这个元素的class属性值描述使用的模板。
The text() template rule removes the chapter and section numbers from the content because they are being moved to the num attribute.
text()模板规则从内容中删除了章号和节号,因为可以将它们移至 num属性。
Now that I've defined the graphics template, the element USES the XML Events' event attribute to define a handler for the SVGBindEnd event in ECMAScript.
现在已经定义了图形模板,元素通过XMLEvents的event属性在ECMAScript中定义了SVGBindEnd事件的处理程序。
To identify blocks of content generated by specific template files, we use a class attribute value that describes the content fragment in the containing element.
为了标识特定模板文件生成的内容区块,我们在包含它的元素中使用一个描述内容片段的class属性。
There is an ANT Task, jetc, which may take either a single template attribute, or a fileset for multiple templates.
有一个ANT任务jetc,它要么可以采用一个template属性,要么对多个模板有一个fileset属性。
The composition tag shown in Listing 23 has a template attribute that points to the template page shown in Listing 22.
清单23中所示的composition标记有一个template属性,指向清单22中所示的模板页面。
File, where master.kid is the base template file, and welcome.kid inherits from it using the py: extends attribute on the tag.
默认情况下,有一个master . kid文件和一个welcome . kid文件,其中master . kid文件是基础模板文件,welcome . kid在其标记中使用py:extend s属性对其进行了继承。
The final step is also filtered using the number attribute and the event attribute. The template now looks like this
最后一步也是使用数值属性和事件属性进行筛选。
You can make the selected objects a template identifier by changing their attribute options in the property panel.
还可以通过在属性面板中更改属性选项使选中对象称为模板标识符。
To implement this, I would modify the match condition of my template-for-templates to check this attribute before proceeding, then add this flag to the templates I'm worried about.
要实现这一点,我将修改我的用于模板的模板的match条件,以在进一步处理之前检查这个属性,然后将这个标志添加到我所关心的这些模板。
To implement this, I would modify the match condition of my template-for-templates to check this attribute before proceeding, then add this flag to the templates I'm worried about.
要实现这一点,我将修改我的用于模板的模板的match条件,以在进一步处理之前检查这个属性,然后将这个标志添加到我所关心的这些模板。
应用推荐