diff --git a/Doc/Sda1/xslt.xml b/Doc/Sda1/xslt.xml index 0612183990624e920e3ed61fe273cd66cdce91ae..ec93bd017148e314f816a93fd80f9b9f942e1388 100644 --- a/Doc/Sda1/xslt.xml +++ b/Doc/Sda1/xslt.xml @@ -800,7 +800,7 @@ WHERE dept='finance' </informaltable> </figure> - <para> <abbrev xlink:href="https://www.w3.org/TR/xpath">XPath</abbrev> + <para><abbrev xlink:href="https://www.w3.org/TR/xpath">XPath</abbrev> provides <link xlink:href="https://www.w3.org/TR/xpath#axes">different axis definitions</link>:</para> @@ -886,8 +886,10 @@ WHERE dept='finance' <glossterm>XPath</glossterm> <glossdef> - <para><code>//*[text()[contains(., <emphasis - role="red">'house'</emphasis>)]]</code></para> + <para><code>//*[text()[0 &lt; + string-length(</code></para> + + <para><code>normalize-space(.))]]</code></para> </glossdef> </glossentry> </glosslist></td> @@ -895,9 +897,9 @@ WHERE dept='finance' <td valign="top"><programlisting language="xml"><top> <b id="first"> <emphasis role="red"><a></emphasis>A house<emphasis role="red"></a></emphasis> - <a>Rent a car</a> + <emphasis role="red"><a></emphasis>Rent a car<emphasis role="red"></a></emphasis> <emphasis role="red"><a></emphasis>Two houses<emphasis role="red"></a></emphasis> - <a>Five</a> + <emphasis role="red"><a></emphasis>Five<emphasis role="red"></a></emphasis> </b> <emphasis role="red"><c></emphasis>Building a house<emphasis role="red"></c></emphasis>