Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
dev:technologies [2011/04/21 02:45] ajlyondev:technologies [2017/12/07 13:42] bwiernik
Line 1: Line 1:
-===== Technologies for Translators ===== +Three commonly-used technologies in [[dev:translators|translator development]] are CSS Selectors, XPath, and RegexResources for learning these technologies are linked to below:
-A very brief introduction to some commonly used technologies used in translator development.+
  
-=== XPath === +==== CSS Selectors ==== 
-<code> +A comprehensive and accessible resource is available from W3Schools:\\ 
- <div id="names"> +https://www.w3schools.com/cssref/css_selectors.asp
-  <span class="editor">George Spelvin</span>, +
-  <span class="translator">Andrea Johnson</span> +
- </div> +
- <table> +
-  <tr class="odd"> +
-   <td>Great Expectations</td> +
-   <td>Mediocre Plans</td> +
-  </tr> +
- </table> +
-</code>+
  
-  * ''/'' Separator between parts of the path +The Mozilla Development Network (MDN) also provides a CSS Selector resource:\\ 
-  * ''*'' match any tag +https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Selectors
-  * ''/ /'' one or more levels deeper (no space) +
-  * ''..'' go up one level +
-  * ''[]'' match a tag that has this (the contents of the brackets) +
-  * ''@key'' an attribute named ''key'' +
-  * ''text()'' match a text node +
-  * ''[2]'' match the second matching node  +
-  * ''[last()]'' match the last matching node +
-  * ''div[@class="important"]'' match a ''<div>'' with the attribute ''class'', with the value ''important''+
-  * ''td[contains(text(),"Expect")]'' match a ''<td>'' which contains text that contains "Expect"+
  
-Plus much more. See the [[http://www.w3.org/TR/xpath/|XPath specification]] and the [[https://developer.mozilla.org/en/xpath|XPath documentation]] of the Mozilla Developer Network.+==== XPath ====
  
-== Examples == +A tutorial is available from Liquid Technologies:\\ 
-  * ''/ /tr[@class="odd"]/td'' +https://www.liquid-technologies.com/xpath-tutorial
-  * ''/ /table/ /td'' +
-  * ''/ /span[@class="editor"]''+
  
-=== Regular Expressions ===+==== Regex ====
  
-  * ''.'' matches any character +There are many high-quality regex tutorials available onlineA comprehensive guide is provided all in one page at:\\ 
-  * ''[a-z01]'' matches any of the lowercase English letters and the numbers 0 and 1 ( +https://github.com/zeeshanu/learn-regex/blob/master/README.md
-  * ''()'' surround a match expression +
-  * ''+'' Match one or more of the preceding expression +
-  * ''*'' Match 0 or more of the preceding expression +
-  * ''?'' Match 0 or 1 of the preceding expression+
  
 +Regex 101 also provides a useful platform for testing regex structures:\\
 +http://regex101.com/