diff options
Diffstat (limited to 'files/ja/web/xpath/functions/not/index.html')
| -rw-r--r-- | files/ja/web/xpath/functions/not/index.html | 40 |
1 files changed, 17 insertions, 23 deletions
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 <p><code>not</code> 関数は式を真偽値として評価し、その逆の値を返します。</p> -<p>{{ 英語版章題("Syntax") }}</p> - -<h3 id=".E6.A7.8B.E6.96.87" name=".E6.A7.8B.E6.96.87">構文</h3> +<h3 id="Syntax">構文</h3> <pre class="eval">not(<em>expression</em> ) </pre> -<p>{{ 英語版章題("Arguments") }}</p> - -<h3 id=".E5.BC.95.E6.95.B0" name=".E5.BC.95.E6.95.B0">引数</h3> +<h3 id="Arguments">引数</h3> <dl> <dt><code><em>expression</em></code></dt> - <dd>この式は <a href="ja/XPath/Functions/boolean"> boolean()</a> 関数の引数として渡された場合とまったく同じように評価されます。</dd> + <dd>この式は <a href="/ja/docs/Web/XPath/Functions/boolean">boolean()</a> 関数の引数として渡された場合とまったく同じように評価されます。</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> +<h3 id="Returns">返値</h3> <p>false と評価できる式に対しては true を返し、true と評価できる式に対しては false を返します。</p> -<p>{{ 英語版章題("Notes") }}</p> - -<h3 id=".E6.B3.A8.E8.A8.98" name=".E6.B3.A8.E8.A8.98">注記</h3> +<h3 id="Notes">注</h3> <ul> - <li>この関数は <a href="ja/XPath/Functions/boolean"> boolean()</a> 関数と同様のふるまいをしますが、返される値はその逆です。</li> + <li>この関数は <a href="/ja/docs/Web/XPath/Functions/boolean">boolean()</a> 関数と同様のふるまいをしますが、返される値はその逆です。</li> + <li>要素に一部の属性がないことを検査することができます。</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-not">XPath 1.0 4.3</a></p> +<pre class="eval"><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> +</pre> -<p>{{ 英語版章題("Gecko support") }}</p> +<h3 id="Defined">定義</h3> -<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><a href="https://www.w3.org/TR/xpath#function-not">XPath 1.0 4.3</a></p> -<p>サポート済み。</p> +<h3 id="Gecko_support">Gecko での対応</h3> -<div class="noinclude">{{ languages( { "en": "en/XPath/Functions/not", "fr": "fr/XPath/Fonctions/not", "pl": "pl/XPath/Funkcje/not" } ) }}</div> +<p>対応済み。</p> |
