Skip to content

Commit 034ee3a

Browse files
committed
Copy edits, thanks Joel.
1 parent 259d238 commit 034ee3a

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

specifications/xslt-40/src/xslt.xml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12664,8 +12664,7 @@ return $tree =?> depth()]]></eg>
1266412664

1266512665
<div5 id="pattern-semantics">
1266612666
<head>The Meaning of a GNode Pattern</head>
12667-
<p>This section defines the formal meaning of a <nt def="GNodePattern">GNodePattern</nt>.
12668-
In this section, “if” is to be read as “if and only if”.</p>
12667+
<p>This section defines the formal meaning of a <nt def="GNodePattern">GNodePattern</nt>.</p>
1266912668

1267012669

1267112670

@@ -12788,7 +12787,7 @@ return $tree =?> depth()]]></eg>
1278812787
equivalent expression, denoted below as <code>EE</code>.</p>
1278912788

1279012789
<p>Specifically, an item <var>N</var> matches a <nt def="GNodePattern">GNodePattern</nt>
12791-
<var>P</var> if the following applies, where
12790+
<var>P</var> if and only if the following applies, where
1279212791
<code>EE</code> is the <term>equivalent expression</term> to <var>P</var>:</p>
1279312792
<ulist>
1279412793

@@ -12820,7 +12819,7 @@ return $tree =?> depth()]]></eg>
1282012819
<code>p</code> matches any <code>p</code> element. The equivalent expression,
1282112820
after adjustment, is <code>child-or-top::element(p)</code>, and the pattern matches because a <code>p</code>
1282212821
element will always be present in the result of evaluating the
12823-
eqivalent <termref def="dt-expression">expression</termref>
12822+
equivalent <termref def="dt-expression">expression</termref>
1282412823
<code>root(.)//(child-or-top::element(p))</code>.</p>
1282512824
<p>Similarly, <code>/</code> matches a
1282612825
document node, and only a document node. The equivalent expression, after adjustment,

0 commit comments

Comments
 (0)