User Tools

Site Tools


xpath

Differences

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

Link to this comparison view

xpath [2020/10/21 14:36]
montse [XPath object identification]
xpath [2020/10/21 14:37] (current)
montse
Line 33: Line 33:
 |normalize-space() |Matches the elements with a string, ignoring leading or trailing blank spaces |de[normalize-space()='​mg'​] |"//​de//"​ elements with the string "//​mg//"​ or "// mg//" or "//mg //" or "// mg //"| |normalize-space() |Matches the elements with a string, ignoring leading or trailing blank spaces |de[normalize-space()='​mg'​] |"//​de//"​ elements with the string "//​mg//"​ or "// mg//" or "//mg //" or "// mg //"|
 |text() |Selects the elements with a specific text within |de[text()="​mg"​] |"//​de//"​ elements with the string "//​mg//"​ in the text field| |text() |Selects the elements with a specific text within |de[text()="​mg"​] |"//​de//"​ elements with the string "//​mg//"​ in the text field|
-|[ / @ ] |Selects the elements that have specific children| / / de[mg/​@attr1='​nrw'​]|"//​de//"​ elements which have a "//​mg//"​ child with an attribute "//​attr1//"​ equal to "//​nrw//"​|\\ ​\\ +|[ / @ ] |Selects the elements that have specific children| / / de[mg/​@attr1='​nrw'​]|"//​de//"​ elements which have a "//​mg//"​ child with an attribute "//​attr1//"​ equal to "//​nrw//"​| 
 + 
 +\\  
  
  
xpath.1603291011.txt.gz · Last modified: 2020/10/21 14:36 by montse