Full width home advertisement

Post Page Advertisement [Top]

Xpath cheatsheetXpath cheatsheet




IMPORTXML(C1,".//div[@class='post-title-container']//h3")


=IMPORTXML(C1,".//div[@class='post-title-container']//a/@href")


ExpressionDescription
nodenameSelects all nodes with the name "nodename"
/Selects from the root node
//Selects nodes in the document from the current node that match the selection no matter where they are
.Selects the current node
..Selects the parent of the current node
@Selects attributes







Nguồn tham khảo:





https://www.w3schools.com/xml/books.xml











Bottom Ad [Post Page]

| Designed by Colorlib