Please note, this is a STATIC archive of website developer.mozilla.org from November 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

value-of

<xsl:value-of> 要素は XPath 式を評価し、それを文字列に変換し、その文字列を result tree に書きます。

構文

<xsl:value-of select=EXPRESSION disable-output-escaping="yes" | "no"  />

必須属性

select
Specifies the XPath expression to be evaluated and written to the output tree.

オプション属性

disable-output-escaping (Netscape does not serialize the result of transformation - the "output" below - so this attribute is essentially irrelevant in context. To output html-entities, use numerical values instead, eg &#160 for &nbsp)
Specifies whether special characters are escaped when written to the output. The available values are "yes" or "no". If "yes" is set, for example, the character <tt>></tt> is output as >, not as "&gt".

Type

Instruction, appears with a template.

定義

XSLT, section 7.6.1.

Gecko support

Supported except as above.

ドキュメントのタグと貢献者

タグ: 
 このページの貢献者: Mgjbot, Okome
 最終更新者: Mgjbot,