diff options
Diffstat (limited to 'files/ja/web/xpath/functions/normalize-space/index.md')
-rw-r--r-- | files/ja/web/xpath/functions/normalize-space/index.md | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/files/ja/web/xpath/functions/normalize-space/index.md b/files/ja/web/xpath/functions/normalize-space/index.md new file mode 100644 index 0000000000..e90715d2c3 --- /dev/null +++ b/files/ja/web/xpath/functions/normalize-space/index.md @@ -0,0 +1,35 @@ +--- +title: normalize-space +slug: Web/XPath/Functions/normalize-space +tags: + - XSLT + - XSLT_Reference +translation_of: Web/XPath/Functions/normalize-space +--- +<p>{{ XsltRef() }}</p> + +<p><code>normalize-space</code> 関数は文字列から前後のホワイトスペースを取り除き、連続するホワイトスペースを 1 つのスペースに置き換え、その結果として得られる文字列を返します。</p> + +<h3 id="Syntax">構文</h3> + +<pre class="eval">normalize-space( [<em>string</em>] ) +</pre> + +<h3 id="Arguments">引数</h3> + +<dl> + <dt><code><em>string</em></code> (省略可)</dt> + <dd>正規化する文字列。省略すると、コンテキストノードを文字列に変換したものが使用されます。</dd> +</dl> + +<h3 id="Returns">返値</h3> + +<p>正規化された文字列。</p> + +<h3 id="Defined">定義</h3> + +<p><a href="https://www.w3.org/TR/xpath#function-normalize-space">XPath 1.0 4.2</a></p> + +<h3 id="Gecko_support">Gecko での対応</h3> + +<p>対応済み。</p> |