User Tools

Site Tools


XPath

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
XPath [2020/10/21 04:31]
peternlewis
XPath [2021/02/28 17:54] (current)
JMichaelTX Fixed formatting with double slashes
Line 3: Line 3:
 [[https://​www.w3schools.com/​xml/​xpath_syntax.asp|XPath]] is a query language for selecting nodes from an HTML document. [[https://​www.w3schools.com/​xml/​xpath_syntax.asp|XPath]] is a query language for selecting nodes from an HTML document.
  
-In Keyboard Maestro, in the various [[actions:​Browser_Actions|Browser Actions]] and tokens you can use an XPath as long as it starts with “/​html”,​ “/HTML” or “//​”. ​ Otherwise, it is typically considered to be JavaScript code or just a plain name, depending on the action or token in question.+In Keyboard Maestro, in the various [[actions:​Browser_Actions|Browser Actions]] and tokens you can use an XPath as long as it starts with “/​html”,​ “/HTML” or “`//`”.  Otherwise, it is typically considered to be JavaScript code or just a plain name, depending on the action or token in question.
  
  
XPath.txt · Last modified: 2021/02/28 17:54 by JMichaelTX