diff --git a/Doc/Sda1/dom.xml b/Doc/Sda1/dom.xml index 4471e371af5aa1f0ef3a3d632b717de8aa70a9cf..9a0a0882e7bc93aadb63762cb5664eebd9ee29f4 100644 --- a/Doc/Sda1/dom.xml +++ b/Doc/Sda1/dom.xml @@ -1616,14 +1616,20 @@ public class DomXpath { <qandadiv> <qandaentry> <question> - <para>Casts in XPath expression related queries are just ugly. - We may get rid of this problem using Filter instances.</para> + <para>Casts in XPath expression related queries (and elsewhere!) + being required is just ugly. We may get rid of this problem + using <classname + xlink:href="http://www.jdom.org/docs/apidocs/org/jdom2/filter/Filters.html">Filters</classname> + instances.</para> <para>Re-write <xref linkend="domFindImages"/> avoiding casts completely.</para> <tip> - <para>Use the <methodname + <para>Read <quote + xlink:href="http://www.programcreek.com/java-api-examples/index.php?api=org.jdom2.filter.Filters#115369">Java + Code Examples for org.jdom2.filter.Filters</quote> and use the + <methodname xlink:href="http://www.jdom.org/docs/apidocs/org/jdom2/xpath/XPathFactory.html#compile(java.lang.String,%20org.jdom2.filter.Filter)">compile(...)</methodname> method.</para> </tip>