aboutsummaryrefslogtreecommitdiff
path: root/files/ja/web/xpath/functions/string
diff options
context:
space:
mode:
authorPeter Bengtsson <mail@peterbe.com>2020-12-08 14:40:17 -0500
committerPeter Bengtsson <mail@peterbe.com>2020-12-08 14:40:17 -0500
commit33058f2b292b3a581333bdfb21b8f671898c5060 (patch)
tree51c3e392513ec574331b2d3f85c394445ea803c6 /files/ja/web/xpath/functions/string
parent8b66d724f7caf0157093fb09cfec8fbd0c6ad50a (diff)
downloadtranslated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.gz
translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.bz2
translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.zip
initial commit
Diffstat (limited to 'files/ja/web/xpath/functions/string')
-rw-r--r--files/ja/web/xpath/functions/string/index.html65
1 files changed, 65 insertions, 0 deletions
diff --git a/files/ja/web/xpath/functions/string/index.html b/files/ja/web/xpath/functions/string/index.html
new file mode 100644
index 0000000000..9b81b0b54d
--- /dev/null
+++ b/files/ja/web/xpath/functions/string/index.html
@@ -0,0 +1,65 @@
+---
+title: string
+slug: Web/XPath/Functions/string
+tags:
+ - XSLT
+ - XSLT_Reference
+translation_of: Web/XPath/Functions/string
+---
+<p>{{ XsltRef() }}</p>
+
+<p><code>string</code> 関数は与えられた引数を文字列に変換します。</p>
+
+<p>{{ 英語版章題("Syntax") }}</p>
+
+<h3 id=".E6.A7.8B.E6.96.87" name=".E6.A7.8B.E6.96.87">構文</h3>
+
+<pre class="eval">string( [<em>object</em>] )
+</pre>
+
+<p>{{ 英語版章題("Arguments") }}</p>
+
+<h3 id=".E5.BC.95.E6.95.B0" name=".E5.BC.95.E6.95.B0">引数</h3>
+
+<dl>
+ <dt><em><code>object</code></em>(省略可)</dt>
+ <dd>文字列に変換するオブジェクト。省略すると、コンテキストノードが使用されます。</dd>
+</dl>
+
+<p>{{ 英語版章題("Returns") }}</p>
+
+<h3 id=".E6.88.BB.E3.82.8A.E5.80.A4" name=".E6.88.BB.E3.82.8A.E5.80.A4">戻り値</h3>
+
+<p>文字列。</p>
+
+<p>{{ 英語版章題("Notes") }}</p>
+
+<h3 id=".E6.B3.A8.E8.A8.98" name=".E6.B3.A8.E8.A8.98">注記</h3>
+
+<ul>
+ <li>オブジェクトがノード集合ならば、その集合内の最初のノードの文字列値が返されます。</li>
+ <li>数値は次のように変換されます。
+ <ul>
+ <li>NaN は文字列 NaN に変換されます。</li>
+ <li>正のゼロは文字列 0 に変換されます。</li>
+ <li>負のゼロは文字列 0 に変換されます。</li>
+ <li>正の無限大は文字列 Infinity に変換されます。</li>
+ <li>負の無限大は文字列 -Infinity に変換されます。</li>
+ <li>-1 と 1 の間の小数は、小数点の前に 0 を 1 つ付けた形式で文字列に変換されます。</li>
+ </ul>
+ </li>
+</ul>
+
+<p>{{ 英語版章題("Defined") }}</p>
+
+<h3 id=".E5.AE.9A.E7.BE.A9" name=".E5.AE.9A.E7.BE.A9">定義</h3>
+
+<p><a class="external" href="http://www.w3.org/TR/xpath#function-string">XPath 1.0 4.2</a></p>
+
+<p>{{ 英語版章題("Gecko support") }}</p>
+
+<h3 id="Gecko_.E3.81.A7.E3.81.AE.E3.82.B5.E3.83.9D.E3.83.BC.E3.83.88" name="Gecko_.E3.81.A7.E3.81.AE.E3.82.B5.E3.83.9D.E3.83.BC.E3.83.88">Gecko でのサポート</h3>
+
+<p>サポート済み。</p>
+
+<div class="noinclude">{{ languages( { "en": "en/XPath/Functions/string", "fr": "fr/XPath/Fonctions/string", "pl": "pl/XPath/Funkcje/string" } ) }}</div>