可以看到,样式表规则使用ID、类和元素选择器匹配清单1的各部分内容。
You can see the rules using ID, class, and element selectors matching parts of Listing 1.
CSS文件包含一些样式表规则,这些规则可以应用于JSF组件能够呈现的HTML元素,也可以被简单地包含在jsf页面的组件之间。
CSS files contain style sheet rules that apply to the HTML elements that can be rendered by JSF components, or that can simply be included between the components of the JSF page.
当您具有从未使用过的样式表规则(糟糕但不可怕)或互相冲突或覆盖的规则时,确实会让人心烦,而且是一个潜在的大问题,CSS膨胀就会发生。
CSS bloat is when you have rules in your sheet that are never used-bad, but not awful-or rules that contradict or override each other-really annoying, and potentially a big problem.
这个空样式表使用了所有缺省模板规则,其作用是将所有标记从XML文件中剥离。
The null style sheet USES all default template rules, with the effect of stripping all markup from any XML file.
这个空样式表使用了所有缺省模板规则,其作用是将所有标记从XML文件中剥离。
The null style sheet uses all default template rules, with the effect of stripping all markup from any XML file.
这里有一个样式表,定义了用于复制XML文档的基本规则。
Here's a style sheet that defines the basic rule for copying an XML document.
清单1显示了实现这一规则的常规xslt样式表。
Listing 1 shows a generic XSLT style sheet that implements this rule.
另外一个好处是,如果我决定改变这些规则(比方说不再使用本地元素),那么需要改变的只有样式表,而不必改变模型。
As an added bonus, if I decide to change the rule (for example, to no longer use local elements), I only need to change the stylesheet; I don't need to change the model.
这些转换将样式表中指定的一系列规则应用于XML数据。
These transformations apply the series of rules specified in the stylesheet to the XML data.
事实上,xslt样式表本身就是XML文档,因此它必须遵守XML规则。
Indeed an XSLT style sheet is itself an XML document so it must follow the XML rules.
因此样式表编译器构造了决策树,在运行时用它来决定将哪个模板规则应用于给定节点。
The style sheet compiler therefore constructs a decision tree which is used at run time to decide which template rule to apply to a given node.
最简单的样式表是把一个规则应用于页面中的所有内容。
The simplest possible style sheet is one that applies a particular rule to all content within the page.
这里的工作和刚才对显示的处理差不多:一个具有许多选择符、规则和格式的CSS样式表。
Most of this is the same old presentation you've always been doing: a CSS stylesheet with lots of selectors, rules, and formatting.
当您构建由多个页面甚至是整个页面使用的样式表时,您将使规则仅应用于站点页面的一个子集。
As you build stylesheets that are used by multiple pages, or even an entire site, you're going to have rules that apply to only a subset of your site's pages.
通过使用XSLT处理器,应用定义在样式表中的规则来完成文档转换。
The document transformation usually is accomplished by applying the rules defined in a style sheet through the use of an XSLT processor.
一旦成功完成了映射分析,编写相应的XI规则和xslt样式表就很简单了。
Once you've successfully completed the map analysis, it is a simple task to write the corresponding XI rules and XSLT stylesheet.
定义了排序西班牙语单词的规则之后,现在可以在XSLT 2.0样式表中使用它了。
Now that you've defined the rules to sort Spanish words, it's time to use that code in your XSLT 2.0 stylesheet.
同样的规则适用于图像标记,并且在XHTML 1.1(即将到来)中,大部分字体属性和其他样式被移入到css样式表中。
Similar rules are applied to image tags, and in XHTML 1.1 (recently coming of age) most font properties and other styling move into CSS stylesheets.
xsl样式表包含从一种xml格式到另一种xml格式(例如,任何有良好格式的标记语言)的变换规则。
XSL style sheets contain rules for the transformation from one XML format to another XML format (i.e. any well-formed markup language).
link标记链接一个外部文件中定义的样式表(CSS)规则。
The link tag associates style sheet (CSS) rules defined in an external file.
常规样式表定义下列规则:需要国际化的HTML/XML文档中的每个元素――如按钮、标签或文本――必须定义属性nlsid 。
The generic style sheet defines the following rule: Every element in the HTML/XML document that needs be internationalized -- such as buttons, labels, or text -- must define the attribute nlsid.
但是如果在整个站点上使用了10个css样式表,或者单个样式表具有数百个规则,那么您可能会忙一整天。
But if you've got ten CSS stylesheets used across your site, or a single stylesheet with hundreds of rules, you might want to get rid of the obvious offenders and call it a day.
transformToXML()方法接受源XML数据作为输入参数,然后使用XSL样式表中指定的规则将 XML文档转换为HTML页面。
The transformToXML() method, which accepts the source XML data as an input argument, is then used to transform the XML document into an HTML page, using the rules specified in the XSL stylesheet.
当支持样式的浏览器程序解释页面时,它会对样式表中的规则和HTML代码中的元素进行匹配,并根据规则显示页面。
When a style-capable browser program interprets the page, it matches the rules in the style sheet with the styled elements in your HTML code to display the page.
顶部的规则,然后是其下的规则,都应用到页面和样式表上。
Rules at the top are applied, then rules below them, and on through your page and stylesheet.
XM使用与这相同的规则,应用它自己的缺省样式表,而不考虑备用样式表。
XM uses the same rules and applies its own default style sheet instead of considering alternate style sheets.
因为XI规则(正则表达式)有其自己的名称空间,所以将它们复制到样式表是可能的。
Since the XI rules (regular expressions) have their own namespace, it's possible to copy them into the style sheet.
我们已经创建了样式表,它定义一组原始转换规则,用于将原始xml转换为另一种使用XSL - fo页面定义词汇表的XML。
We have created the stylesheet that defines the original transformation rules from the original XML into another that USES the vocabulary of the XSL-FO page definition.
除了XML模式外,还可以使用另一种基于xml样式表转换的语言schematron来指定一些规则,以便断言xml文档的内容。
In addition to XML Schema, another language based on XML stylesheet transformations called Schematron can be used to specify rules to make assertions on the content of XML documents.
该命令告诉Xalan样式表引擎(在教程示例中使用)去读取文件everything . html,然后使用xhtml - to - xslfo . xsl样式表中的规则来转换它。
The command tells the Xalan style sheet engine (used in the tutorial example) to read the file everything.html and then use the rules in xhtml-to-xslfo.xsl style sheet to transform it.
应用推荐