帮忙翻译~~18

来源:百度知道 编辑:UC知道 时间:2024/05/22 01:45:58
8. For the value of an attribute, the filter template is invoked to translate the predefined function names. In our XHTML example, few predefined functions are used in the attributes, so we just simplify the filter with copying the attribute value.
<template name="filter"><param name="attr"/>
<value-of select="$attr"/>
</template>
As result of above-mentioned steps, the XHTML document can be localized. This approach has two advantages:

8 。的价值属性,过滤器模板援引把预定的功能名称。在我们的XHTML例如,一些预定义的职能中使用的属性,所以我们只是简化了滤波器的复制属性值。
<template name="filter"> <param name="attr"/>
<value-of select="$attr"/>
“ /模板”
经过上述步骤之后,的XHTML文件可以本地化。这种做法有两个好处: