From 4fc7e6641c5c29dc092972efab984cbc86ac965d Mon Sep 17 00:00:00 2001 From: Masahiro FUJIMOTO Date: Sat, 8 May 2021 01:21:53 +0900 Subject: Web/XPath/Functions 以下の複数の文書を更新 (#631) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Web/XPath/Functions/ceiling を更新 - 2021/02/20 時点の英語版に同期 * Web/XPath/Functions/concat を更新 2021/02/20 時点の英語版に同期 * Web/XPath/Functions/count を更新 2021/02/20 時点の英語版に同期 * Web/XPath/Functions/false を更新 2021/02/20 時点の英語版に同期 * Web/XPath/Functions/floor を更新 2021/02/20 時点の英語版に更新 * Web/XPath/Functions/id を更新 2021/02/20 時点の英語版に同期 * Web/XPath/Functions/lang を更新 2021/02/20 時点の英語版に同期 * Web/XPath/Functions/last を更新 2021/02/22 時点の英語版に同期 * Web/XPath/Functions/local-name を更新 2021/02/20 時点の英語版に同期 * Web/XPath/Functions/name を更新 2021/02/20 時点の英語版に同期 * Web/XPath/Functions/namespace-uri を更新 2021/02/20 時点の英語版に同期 * Web/XPath/Functions/normalize-space を更新 2021/02/20 時点の英語版に同期 * Web/XPath/Functions/not を更新 2021/02/20 時点の英語版に同期 * Web/XPath/Functions/number を更新 2021/02/22 時点の英語版に同期 * Web/XPath/Functions/position を更新 2021/02/20 時点の英語版に同期 * Web/XPath/Functions/round を更新 2021/02/20 時点の英語版に同期 * 「実数」表記を「小数」表記に修正 * Web/XPath/Functions/starts-with を更新 2021/02/20 時点の英語版に同期 * Web/XPath/Functions/string-length を更新 2021/02/20 時点の英語版に同期 * Web/XPath/Functions/string を更新 2021/02/20 時点の英語版に同期 * Web/XPath/Functions/substring を更新 2021/02/20 時点の英語版に同期 --- files/ja/web/xpath/functions/ceiling/index.html | 24 ++++--------- files/ja/web/xpath/functions/concat/index.html | 26 ++++---------- files/ja/web/xpath/functions/count/index.html | 26 ++++---------- files/ja/web/xpath/functions/false/index.html | 28 +++++---------- files/ja/web/xpath/functions/floor/index.html | 28 +++++---------- files/ja/web/xpath/functions/id/index.html | 37 ++++++-------------- files/ja/web/xpath/functions/lang/index.html | 36 ++++++------------- files/ja/web/xpath/functions/last/index.html | 28 +++++---------- files/ja/web/xpath/functions/local-name/index.html | 34 ++++++------------ files/ja/web/xpath/functions/name/index.html | 30 +++++----------- .../web/xpath/functions/namespace-uri/index.html | 36 ++++++------------- .../web/xpath/functions/normalize-space/index.html | 28 +++++---------- files/ja/web/xpath/functions/not/index.html | 40 +++++++++------------- files/ja/web/xpath/functions/number/index.html | 34 ++++++------------ files/ja/web/xpath/functions/position/index.html | 28 +++++---------- files/ja/web/xpath/functions/round/index.html | 30 +++++----------- .../ja/web/xpath/functions/starts-with/index.html | 31 +++++------------ .../web/xpath/functions/string-length/index.html | 26 ++++---------- files/ja/web/xpath/functions/string/index.html | 32 +++++------------ files/ja/web/xpath/functions/substring/index.html | 33 +++++------------- files/ja/web/xpath/functions/true/index.html | 4 +-- 21 files changed, 179 insertions(+), 440 deletions(-) (limited to 'files/ja/web/xpath/functions') diff --git a/files/ja/web/xpath/functions/ceiling/index.html b/files/ja/web/xpath/functions/ceiling/index.html index f2f7c7b4a3..7a45cc4e72 100644 --- a/files/ja/web/xpath/functions/ceiling/index.html +++ b/files/ja/web/xpath/functions/ceiling/index.html @@ -10,25 +10,19 @@ translation_of: Web/XPath/Functions/ceiling

ceiling 関数は小数を評価し、その小数以上の最も小さい整数を返します。

-

{{ 英語版章題("Syntax") }}

- -

構文

+

構文

ceiling(number )
 
-

{{ 英語版章題("Arguments") }}

- -

引数

+

引数

number
評価する数値。
-

{{ 英語版章題("Returns") }}

- -

戻り値

+

返値

number 以上の最も近い整数。

@@ -38,16 +32,10 @@ translation_of: Web/XPath/Functions/ceiling

    ceiling (-5.2) = -5

-

{{ 英語版章題("Defined") }}

- -

定義

+

定義

XPath 1.0 4.4

-

{{ 英語版章題("Gecko Support") }}

- -

Gecko でのサポート

- -

サポート済み。

+

Gecko での対応

-
{{ languages( { "en": "en/XPath/Functions/ceiling", "fr": "fr/XPath/Fonctions/ceiling", "pl": "pl/XPath/Funkcje/ceiling" } ) }}
+

対応済み。

diff --git a/files/ja/web/xpath/functions/concat/index.html b/files/ja/web/xpath/functions/concat/index.html index 5d1d2c5c09..eb540091a4 100644 --- a/files/ja/web/xpath/functions/concat/index.html +++ b/files/ja/web/xpath/functions/concat/index.html @@ -10,38 +10,26 @@ translation_of: Web/XPath/Functions/concat

concat 関数は 2 つ以上の文字列を連結し、その結果として得られる文字列を返します。

-

{{ 英語版章題("Syntax") }}

- -

構文

+

構文

concat(string1 ,string2 [,stringn]* )
 
-

{{ 英語版章題("Arguments") }}

- -

引数

+

引数

stringn
この関数は 2 つ以上の引数を受け入れます。それぞれの引数は文字列です。
-

{{ 英語版章題("Returns") }}

- -

戻り値

+

返値

関数に引数として渡されたすべての文字列を連結した、単一の文字列。

-

{{ 英語版章題("Defined") }}

- -

定義

- -

XPath 1.0 4.2

- -

{{ 英語版章題("Gecko Support") }}

+

定義

-

Gecko でのサポート

+

XPath 1.0 4.2

-

サポート済み。

+

Gecko での対応

-
{{ languages( { "en": "en/XPath/Functions/concat", "fr": "fr/XPath/Fonctions/concat", "pl": "pl/XPath/Funkcje/concat" } ) }}
+

対応済み。

diff --git a/files/ja/web/xpath/functions/count/index.html b/files/ja/web/xpath/functions/count/index.html index 6883cfc04b..d6dadf3488 100644 --- a/files/ja/web/xpath/functions/count/index.html +++ b/files/ja/web/xpath/functions/count/index.html @@ -10,38 +10,26 @@ translation_of: Web/XPath/Functions/count

count 関数はノード集合に含まれるノードの数を数え、その整数を返します。

-

{{ 英語版章題("Syntax") }}

- -

構文

+

構文

count(node-set )
 
-

{{ 英語版章題("Arguments") }}

- -

引数

+

引数

node-set
カウント対象のノード集合。
-

{{ 英語版章題("Returns") }}

- -

戻り値

+

返値

ノード集合に含まれるノードの数を表す整数。

-

{{ 英語版章題("Defined") }}

- -

定義

- -

XPath 1.0 4.1

- -

{{ 英語版章題("Gecko support") }}

+

定義

-

Gecko でのサポート

+

XPath 1.0 4.1

-

サポート済み。

+

Gecko での対応

-
{{ languages( { "en": "en/XPath/Functions/count", "fr": "fr/XPath/Fonctions/count", "pl": "pl/XPath/Funkcje/count" } ) }}
+

対応済み。

diff --git a/files/ja/web/xpath/functions/false/index.html b/files/ja/web/xpath/functions/false/index.html index a6748ec1e0..66d2460c2e 100644 --- a/files/ja/web/xpath/functions/false/index.html +++ b/files/ja/web/xpath/functions/false/index.html @@ -10,22 +10,16 @@ translation_of: Web/XPath/Functions/false

false 関数は真偽値 false を返します。

-

{{ 英語版章題("Syntax") }}

- -

構文

+

構文

false()
 
-

{{ 英語版章題("Returns") }}

- -

戻り値

- -

真偽値 false

+

返値

-

{{ 英語版章題("Notes") }}

+

真偽値 false です。

-

注記

+

この関数は比較の一部として役立ちます。

@@ -34,16 +28,10 @@ translation_of: Web/XPath/Functions/false </xsl:if> -

{{ 英語版章題("Defined") }}

- -

定義

- -

XPath 1.0 4.3

- -

{{ 英語版章題("Gecko support") }}

+

定義

-

Gecko でのサポート

+

XPath 1.0 4.3

-

サポート済み。

+

Gecko での対応

-

{{ languages( { "en": "en/XPath/Functions/false", "fr": "fr/XPath/Fonctions/false", "pl": "pl/XPath/Funkcje/false" } ) }}

+

対応済み。

diff --git a/files/ja/web/xpath/functions/floor/index.html b/files/ja/web/xpath/functions/floor/index.html index d87af4cb52..2d626826a4 100644 --- a/files/ja/web/xpath/functions/floor/index.html +++ b/files/ja/web/xpath/functions/floor/index.html @@ -10,38 +10,26 @@ translation_of: Web/XPath/Functions/floor

floor 関数は小数を評価し、その小数以下の最も大きい整数を返します。

-

{{ 英語版章題("Syntax") }}

+

構文

-

構文

- -
floor(number )
+
floor( number )
 
-

{{ 英語版章題("Arguments") }}

- -

引数

+

引数

number
評価する小数。
-

{{ 英語版章題("Returns") }}

- -

戻り値

+

返値

number 以下の最も近い整数。

-

{{ 英語版章題("Defined") }}

- -

定義

- -

XPath 1.0 4.4

- -

{{ 英語版章題("Gecko support") }}

+

定義

-

Gecko でのサポート

+

XPath 1.0 4.4

-

サポート済み。

+

Gecko での対応

-
{{ languages( { "en": "en/XPath/Functions/floor", "fr": "fr/XPath/Fonctions/floor", "pl": "pl/XPath/Funkcje/floor" } ) }}
+

対応済み。

diff --git a/files/ja/web/xpath/functions/id/index.html b/files/ja/web/xpath/functions/id/index.html index 745c86d70f..1f6ad80b37 100644 --- a/files/ja/web/xpath/functions/id/index.html +++ b/files/ja/web/xpath/functions/id/index.html @@ -8,52 +8,35 @@ translation_of: Web/XPath/Functions/id ---

{{ XsltRef() }}

-

id 関数は与えられた ID に一致するノードを探し、識別されたノードを格納するノード集合を返します。

+

id 関数は渡された ID に一致するノードを探し、識別されたノードを格納するノード集合を返します。

-

{{ 英語版章題("Syntax") }}

- -

構文

+

構文

id(expression )
 
-

{{ 英語版章題("Arguments") }}

- -

引数

+

引数

expression
expression がノード集合ならば、そのノード集合内のそれぞれのノードの文字列値が個々の ID として扱われます。返されるノード集合はそれらの ID に対応するノードの集合です。
-
- -
expression が文字列、またはその他のノード集合以外の型である場合、expression は空白で区切られた ID のリストとして扱われます。返されるノード集合はそれらの ID に対応するノードの集合です。
-

{{ 英語版章題("Returns") }}

- -

戻り値

+

返値

与えられた単一または複数の ID によって識別された、単一または複数のノードを格納したノード集合。

-

{{ 英語版章題("Notes") }}

- -

注記

+

-

{{ 英語版章題("Defined") }}

- -

定義

- -

XPath 1.0 4.1

- -

{{ 英語版章題("Gecko support") }}

+

定義

-

Gecko でのサポート

+

XPath 1.0 4.1

-

一部サポート

+

Gecko での対応

-
{{ languages( { "en": "en/XPath/Functions/id", "fr": "fr/XPath/Fonctions/id", "pl": "pl/XPath/Funkcje/id" } ) }}
+

一部対応。

diff --git a/files/ja/web/xpath/functions/lang/index.html b/files/ja/web/xpath/functions/lang/index.html index b52a8114d0..58fa50c595 100644 --- a/files/ja/web/xpath/functions/lang/index.html +++ b/files/ja/web/xpath/functions/lang/index.html @@ -8,36 +8,28 @@ translation_of: Web/XPath/Functions/lang ---

{{ XsltRef() }}

-

lang 関数は、コンテキストノードの言語が与えられた言語に一致するかどうかを判定し、真偽値 true または false を返します。

+

lang 関数は、コンテキストノードの言語が渡された言語に一致するかどうかを判定し、真偽値 true または false を返します。

-

{{ 英語版章題("Syntax") }}

- -

構文

+

構文

lang(string )
 
-

{{ 英語版章題("Arguments") }}

- -

引数

+

引数

string
マッチさせる言語コードまたはローカライゼーション (言語と国) コード。
-

{{ 英語版章題("Returns") }}

- -

戻り値

+

返値

コンテキストノードが与えられた言語に一致すれば true。そうでなければ false

-

{{ 英語版章題("Notes") }}

- -

注記

+

このような XSL テンプレートの一部があったとすると、

@@ -66,16 +58,10 @@ translation_of: Web/XPath/Functions/lang 0 -

{{ 英語版章題("Defined") }}

- -

定義

- -

XPath 1.0 4.3

- -

{{ 英語版章題("Gecko support") }}

+

定義

-

Gecko でのサポート

+

XPath 1.0 4.3

-

サポート済み。

+

Gecko での対応

-
{{ languages( { "en": "en/XPath/Functions/lang", "fr": "fr/XPath/Fonctions/lang", "pl": "pl/XPath/Funkcje/lang" } ) }}
+

対応済み。

diff --git a/files/ja/web/xpath/functions/last/index.html b/files/ja/web/xpath/functions/last/index.html index 60cbe6e906..13fdb19750 100644 --- a/files/ja/web/xpath/functions/last/index.html +++ b/files/ja/web/xpath/functions/last/index.html @@ -10,37 +10,25 @@ translation_of: Web/XPath/Functions/last

last 関数は、式評価コンテキストのコンテキストサイズに等しい数値を返します。

-

{{ 英語版章題("Syntax") }}

- -

構文

+

構文

last()
 
-

{{ 英語版章題("Returns") }}

- -

戻り値

+

返値

式評価コンテキストのコンテキストサイズに等しい整数。

-

{{ 英語版章題("Notes") }}

- -

注記

+

-

{{ 英語版章題("Defined") }}

- -

定義

- -

XPath 1.0 4.1

- -

{{ 英語版章題("Gecko support") }}

+

定義

-

Gecko でのサポート

+

XPath 1.0 4.1

-

サポート済み。

+

Gecko での対応

-
{{ languages( { "en": "en/XPath/Functions/last", "fr": "fr/XPath/Fonctions/last", "pl": "pl/XPath/Funkcje/last" } ) }}
+

対応済み。

diff --git a/files/ja/web/xpath/functions/local-name/index.html b/files/ja/web/xpath/functions/local-name/index.html index f387d68dcc..ccdff70568 100644 --- a/files/ja/web/xpath/functions/local-name/index.html +++ b/files/ja/web/xpath/functions/local-name/index.html @@ -8,48 +8,34 @@ translation_of: Web/XPath/Functions/local-name ---

{{ XsltRef() }}

-

local-name 関数は、与えられたノード集合内の最初のノードの{{ 原語併記("ローカル名", "local name") }}を表す文字列を返します。

+

local-name 関数は、与えられたノード集合内の最初のノードのローカル名 (local name) を表す文字列を返します。

-

{{ 英語版章題("Syntax") }}

- -

構文

+

構文

local-name( [node-set] )
 
-

{{ 英語版章題("Arguments") }}

- -

引数

+

引数

node-set (省略可)
このノード集合内の最初のノードのローカル名が返されます。引数を省略すると、現在のコンテキストノードが使用されます。
-

{{ 英語版章題("Returns") }}

- -

戻り値

+

返値

文字列。

-

{{ 英語版章題("Notes") }}

- -

注記

+

-

{{ 英語版章題("Defined") }}

- -

定義

- -

XPath 1.0 4.1

- -

{{ 英語版章題("Gecko support") }}

+

定義

-

Gecko でのサポート

+

XPath 1.0 4.1

-

サポート済み。

+

Gecko での対応

-
{{ languages( { "en": "en/XPath/Functions/local-name", "fr": "fr/XPath/Fonctions/local-name", "pl": "pl/XPath/Funkcje/local-name" } ) }}
+

対応済み。

diff --git a/files/ja/web/xpath/functions/name/index.html b/files/ja/web/xpath/functions/name/index.html index 56255abfcb..426f40f2dd 100644 --- a/files/ja/web/xpath/functions/name/index.html +++ b/files/ja/web/xpath/functions/name/index.html @@ -10,46 +10,32 @@ translation_of: Web/XPath/Functions/name

name 関数は、与えられたノード集合内の最初のノードの QName を表す文字列を返します。

-

{{ 英語版章題("Syntax") }}

- -

構文

+

構文

name( [node-set] )
 
-

{{ 英語版章題("Arguments") }}

- -

引数

+

引数

node-set (省略可)
このノード集合内の最初のノードの QName が返されます。引数を省略すると、現在のコンテキストノードが使用されます。
-

{{ 英語版章題("Returns") }}

- -

戻り値

+

返値

ノードの QName を表す文字列。

-

{{ 英語版章題("Notes") }}

- -

注記

+

-

{{ 英語版章題("Defined") }}

- -

定義

- -

XPath 1.0 4.1

- -

{{ 英語版章題("Gecko support") }}

+

定義

-

Gecko でのサポート

+

XPath 1.0 4.1

-

サポート済み。

+

Gecko での対応

-
{{ languages( { "en": "en/XPath/Functions/name", "fr": "fr/XPath/Fonctions/name", "pl": "pl/XPath/Funkcje/name" } ) }}
+

対応済み。

diff --git a/files/ja/web/xpath/functions/namespace-uri/index.html b/files/ja/web/xpath/functions/namespace-uri/index.html index abc925a58d..9fbd5f40c5 100644 --- a/files/ja/web/xpath/functions/namespace-uri/index.html +++ b/files/ja/web/xpath/functions/namespace-uri/index.html @@ -8,52 +8,38 @@ translation_of: Web/XPath/Functions/namespace-uri ---

{{ XsltRef() }}

-

namespace-uri 関数は、与えられたノード集合内の最初のノードの名前空間 URI を表す文字列を返します。

+

namespace-uri 関数は、指定されたノード集合内の最初のノードの名前空間 URI を表す文字列を返します。

-

{{ 英語版章題("Syntax") }}

- -

構文

+

構文

namespace-uri( [node-set] )
 
-

{{ 英語版章題("Arguments") }}

- -

引数

+

引数

node-set (省略可)
このノード集合内の最初のノードの名前空間 URI が返されます。引数を省略すると、現在のコンテキストノードが使用されます。
-

{{ 英語版章題("Returns") }}

- -

戻り値

- -

与えられたノードが属する名前空間の URI を表す文字列。

+

返値

-

{{ 英語版章題("Notes") }}

+

指定されたノードが属する名前空間の URI を表す文字列。

-

注記

+

-

{{ 英語版章題("Defined") }}

- -

定義

- -

XPath 1.0 4.1

- -

{{ 英語版章題("Gecko support") }}

+

定義

-

Gecko でのサポート

+

XPath 1.0 4.1

-

サポート済み。

+

Gecko での対応

-
{{ languages( { "en": "en/XPath/Functions/namespace-uri", "fr": "fr/XPath/Fonctions/namespace-uri", "pl": "pl/XPath/Funkcje/namespace-uri" } ) }}
+

対応済み。

diff --git a/files/ja/web/xpath/functions/normalize-space/index.html b/files/ja/web/xpath/functions/normalize-space/index.html index 5bfcf55d6b..e90715d2c3 100644 --- a/files/ja/web/xpath/functions/normalize-space/index.html +++ b/files/ja/web/xpath/functions/normalize-space/index.html @@ -8,38 +8,28 @@ translation_of: Web/XPath/Functions/normalize-space ---

{{ XsltRef() }}

-

normalize-space 関数は文字列から前後の空白文字を取り除き、連続する空白文字を 1 つのスペースに置き換え、その結果として得られる文字列を返します。

+

normalize-space 関数は文字列から前後のホワイトスペースを取り除き、連続するホワイトスペースを 1 つのスペースに置き換え、その結果として得られる文字列を返します。

-

{{ 英語版章題("Syntax") }}

+

構文

-

構文

- -
normalize-space( [string] )
+
normalize-space( [string] )
 
-

{{ 英語版章題("Arguments") }}

- -

引数

+

引数

string (省略可)
正規化する文字列。省略すると、コンテキストノードを文字列に変換したものが使用されます。
-

{{ 英語版章題("Returns") }}

- -

戻り値

+

返値

正規化された文字列。

-

{{ 英語版章題("Defined") }}

- -

定義

- -

XPath 1.0 4.2

+

定義

-

{{ 英語版章題("Gecko support") }}

+

XPath 1.0 4.2

-

Gecko でのサポート

+

Gecko での対応

-

サポート済み。

+

対応済み。

diff --git a/files/ja/web/xpath/functions/not/index.html b/files/ja/web/xpath/functions/not/index.html index a12bf3d3d4..42a0076dbe 100644 --- a/files/ja/web/xpath/functions/not/index.html +++ b/files/ja/web/xpath/functions/not/index.html @@ -10,46 +10,40 @@ translation_of: Web/XPath/Functions/not

not 関数は式を真偽値として評価し、その逆の値を返します。

-

{{ 英語版章題("Syntax") }}

- -

構文

+

構文

not(expression )
 
-

{{ 英語版章題("Arguments") }}

- -

引数

+

引数

expression
-
この式は boolean() 関数の引数として渡された場合とまったく同じように評価されます。
+
この式は boolean() 関数の引数として渡された場合とまったく同じように評価されます。
-

{{ 英語版章題("Returns") }}

- -

戻り値

+

返値

false と評価できる式に対しては true を返し、true と評価できる式に対しては false を返します。

-

{{ 英語版章題("Notes") }}

- -

注記

+

-

{{ 英語版章題("Defined") }}

- -

定義

- -

XPath 1.0 4.3

+
<xsl:for-each match="//a[not(@name and @name = 'badname')]">
+  <!-- iterates over any <a> element in the document, that
+       either has no 'name' attribute at all, or it has one,
+       but its value is not "badname". -->
+</xsl:template>
+
-

{{ 英語版章題("Gecko support") }}

+

定義

-

Gecko でのサポート

+

XPath 1.0 4.3

-

サポート済み。

+

Gecko での対応

-
{{ languages( { "en": "en/XPath/Functions/not", "fr": "fr/XPath/Fonctions/not", "pl": "pl/XPath/Funkcje/not" } ) }}
+

対応済み。

diff --git a/files/ja/web/xpath/functions/number/index.html b/files/ja/web/xpath/functions/number/index.html index 99997dc9c4..dcf14f1304 100644 --- a/files/ja/web/xpath/functions/number/index.html +++ b/files/ja/web/xpath/functions/number/index.html @@ -10,49 +10,35 @@ translation_of: Web/XPath/Functions/number

number 関数はオブジェクトを数値に変換し、その数値を返します。

-

{{ 英語版章題("Syntax") }}

- -

構文

+

構文

number( [object] )
 
-

{{ 英語版章題("Arguments") }}

- -

引数

+

引数

object(省略可)
数値に変換するオブジェクト。引数を省略すると、現在のコンテキストノードが使用されます。
-

{{ 英語版章題("Returns") }}

- -

戻り値

+

返値

オブジェクトを変換した結果として得られる数値。

-

{{ 英語版章題("Notes") }}

- -

注記

+

-

{{ 英語版章題("Defined") }}

- -

定義

- -

XPath 1.0 4.4

- -

{{ 英語版章題("Gecko support") }}

+

定義

-

Gecko でのサポート

+

XPath 1.0 4.4

-

サポート済み。

+

Gecko での対応

-
{{ languages( { "en": "en/XPath/Functions/number", "fr": "fr/XPath/Fonctions/number", "pl": "pl/XPath/Funkcje/number" } ) }}
+

対応済み。

diff --git a/files/ja/web/xpath/functions/position/index.html b/files/ja/web/xpath/functions/position/index.html index 80d3c2ed60..72efb27730 100644 --- a/files/ja/web/xpath/functions/position/index.html +++ b/files/ja/web/xpath/functions/position/index.html @@ -10,25 +10,19 @@ translation_of: Web/XPath/Functions/position

position 関数は、式評価コンテキストのコンテキスト位置に等しい数値を返します。

-

{{ 英語版章題("Syntax") }}

- -

構文

+

構文

position()
 
-

{{ 英語版章題("Returns") }}

- -

戻り値

+

返値

式評価コンテキストのコンテキスト位置に等しい整数。

-

{{ 英語版章題("Notes") }}

- -

注記

+

-

{{ 英語版章題("Defined") }}

- -

定義

- -

XPath 1.0 4.1

- -

{{ 英語版章題("Gecko support") }}

+

定義

-

Gecko でのサポート

+

XPath 1.0 4.1

-

サポート済み。

+

Gecko での対応

-
{{ languages( { "en": "en/XPath/Functions/position", "fr": "fr/XPath/Fonctions/position", "pl": "pl/XPath/Funkcje/position" } ) }}
+

対応済み。

diff --git a/files/ja/web/xpath/functions/round/index.html b/files/ja/web/xpath/functions/round/index.html index 2d0b9e61a1..f141525e74 100644 --- a/files/ja/web/xpath/functions/round/index.html +++ b/files/ja/web/xpath/functions/round/index.html @@ -10,46 +10,32 @@ translation_of: Web/XPath/Functions/round

round 関数は、与えられた数値に最も近い整数を返します。

-

{{ 英語版章題("Syntax") }}

- -

構文

+

構文

round(decimal )
 
-

{{ 英語版章題("Arguments") }}

- -

引数

+

引数

decimal
丸められる小数。
-

{{ 英語版章題("Returns") }}

- -

戻り値

+

返値

decimalよりも小さいか、大きいか、等しい、最も近い整数。

-

{{ 英語版章題("Notes") }}

- -

注記

+

-

{{ 英語版章題("Defined") }}

- -

定義

- -

XPath 1.0 4.4

- -

{{ 英語版章題("Gecko support") }}

+

定義

-

Gecko でのサポート

+

XPath 1.0 4.4

-

サポート済み。

+

Gecko での対応

-
{{ languages( { "en": "en/XPath/Functions/round", "fr": "fr/XPath/Fonctions/round", "pl": "pl/XPath/Funkcje/round" } ) }}
+

対応済み。

diff --git a/files/ja/web/xpath/functions/starts-with/index.html b/files/ja/web/xpath/functions/starts-with/index.html index 9fd53c61bf..5bf58577a3 100644 --- a/files/ja/web/xpath/functions/starts-with/index.html +++ b/files/ja/web/xpath/functions/starts-with/index.html @@ -10,43 +10,28 @@ translation_of: Web/XPath/Functions/starts-with

starts-with 関数は第 1 引数の文字列が第 2 引数の文字列で始まるかどうかを調べ、true または false を返します。

-

{{ 英語版章題("Syntax") }}

+

構文

-

構文

- -
starts-with(haystack ,needle)
+
starts-with(haystack, needle)
 
-

{{ 英語版章題("Arguments") }}

- -

引数

+

引数

haystack
検索される文字列。
-
- -
needle
検索する文字列。
-

{{ 英語版章題("Returns") }}

- -

戻り値

+

返値

haystackneedle で始まれば true。 そうでなければ false

-

{{ 英語版章題("Defined") }}

- -

定義

- -

XPath 1.0 4.2

- -

{{ 英語版章題("Gecko support") }}

+

定義

-

Gecko でのサポート

+

XPath 1.0 4.2

-

サポート済み。

+

Gecko での対応

-
{{ languages( { "en": "en/XPath/Functions/starts-with", "fr": "fr/XPath/Fonctions/starts-with", "pl": "pl/XPath/Funkcje/starts-with" } ) }}
+

対応済み。

diff --git a/files/ja/web/xpath/functions/string-length/index.html b/files/ja/web/xpath/functions/string-length/index.html index 91f2cdb84c..50aefab936 100644 --- a/files/ja/web/xpath/functions/string-length/index.html +++ b/files/ja/web/xpath/functions/string-length/index.html @@ -10,38 +10,26 @@ translation_of: Web/XPath/Functions/string-length

string-length 関数は、与えられた文字列の文字数に等しい数値を返します。

-

{{ 英語版章題("Syntax") }}

- -

構文

+

構文

string-length( [string] )
 
-

{{ 英語版章題("Arguments") }}

- -

引数

+

引数

string(省略可)
評価する文字列。省略すると、コンテキストノードを文字列に変換したものが使用されます。
-

{{ 英語版章題("Returns") }}

- -

戻り値

+

返値

文字列の文字数に等しい整数。

-

{{ 英語版章題("Defined") }}

- -

定義

- -

XPath 1.0 4.2

- -

{{ 英語版章題("Gecko support") }}

+

定義

-

Gecko でのサポート

+

XPath 1.0 4.2

-

サポート済み。

+

Gecko での対応

-
{{ languages( { "en": "en/XPath/Functions/string-length", "fr": "fr/XPath/Fonctions/string-length", "pl": "pl/XPath/Funkcje/string-length" } ) }}
+

対応済み。

diff --git a/files/ja/web/xpath/functions/string/index.html b/files/ja/web/xpath/functions/string/index.html index 9b81b0b54d..a55dcb3362 100644 --- a/files/ja/web/xpath/functions/string/index.html +++ b/files/ja/web/xpath/functions/string/index.html @@ -10,31 +10,23 @@ translation_of: Web/XPath/Functions/string

string 関数は与えられた引数を文字列に変換します。

-

{{ 英語版章題("Syntax") }}

- -

構文

+

構文

string( [object] )
 
-

{{ 英語版章題("Arguments") }}

- -

引数

+

引数

object(省略可)
文字列に変換するオブジェクト。省略すると、コンテキストノードが使用されます。
-

{{ 英語版章題("Returns") }}

- -

戻り値

+

返値

文字列。

-

{{ 英語版章題("Notes") }}

- -

注記

+

-

{{ 英語版章題("Defined") }}

- -

定義

- -

XPath 1.0 4.2

- -

{{ 英語版章題("Gecko support") }}

- -

Gecko でのサポート

+

定義

-

サポート済み。

+

Gecko での対応

-
{{ languages( { "en": "en/XPath/Functions/string", "fr": "fr/XPath/Fonctions/string", "pl": "pl/XPath/Funkcje/string" } ) }}
+

対応済み。

diff --git a/files/ja/web/xpath/functions/substring/index.html b/files/ja/web/xpath/functions/substring/index.html index 5b1be6817e..b8da7a9164 100644 --- a/files/ja/web/xpath/functions/substring/index.html +++ b/files/ja/web/xpath/functions/substring/index.html @@ -10,16 +10,12 @@ translation_of: Web/XPath/Functions/substring

substring 関数は与えられた文字列の一部を返します。

-

{{ 英語版章題("Syntax") }}

- -

構文

+

構文

substring(string ,start [,length] )
 
-

{{ 英語版章題("Arguments") }}

- -

引数

+

引数

string
@@ -29,35 +25,22 @@ translation_of: Web/XPath/Functions/substring
start
string内での部分文字列の開始位置。
-
- -
length(省略可)
部分文字列の長さ。 省略すると、返される文字列にはstart の位置からstring の最後までのすべての文字が格納される。
-

{{ 英語版章題("Returns") }}

- -

戻り値

+

返値

文字列。

-

{{ 英語版章題("Notes") }}

- -

注記

+

他の XPath 関数と同様に、位置はゼロ始まりではありません。 文字列内の最初の文字の位置は 1 であり、0 ではありません。

-

{{ 英語版章題("Defined") }}

- -

定義

- -

XPath 1.0 4.2

- -

{{ 英語版章題("Gecko support") }}

+

定義

-

Gecko でのサポート

+

XPath 1.0 4.2

-

サポート済み。

+

Gecko での対応

-
{{ languages( { "en": "en/XPath/Functions/substring", "es": "es/XPath/Funciones/substring", "fr": "fr/XPath/Fonctions/substring", "pl": "pl/XPath/Funkcje/substring" } ) }}
+

対応済み。

diff --git a/files/ja/web/xpath/functions/true/index.html b/files/ja/web/xpath/functions/true/index.html index 1e6bfa7d6c..e92255e96b 100644 --- a/files/ja/web/xpath/functions/true/index.html +++ b/files/ja/web/xpath/functions/true/index.html @@ -33,6 +33,4 @@ translation_of: Web/XPath/Functions/true

Gecko でのサポート

-

サポート済み。

- -
{{ languages( { "en": "en/XPath/Functions/true", "es": "es/XPath/Funciones/true", "fr": "fr/XPath/Fonctions/true", "pl": "pl/XPath/Funkcje/true" } ) }}
+

対応済み。

-- cgit v1.2.3-54-g00ecf