View source: R/utils_scraping.R
xpath_sibling_between | R Documentation |
nested_tag_contains
which helps to identify a nested tag by its contentsGenerate xpath to find sibling nodes between two elements
The function produces a compounding xpath with each subsequent argument provided. Thus the final argument specified will be the node that is selected by the resulting xpath with the exception of nested_tag_contains
which helps to identify a nested tag by its contents
xpath_sibling_between(
start_tag,
following_sibling,
preceding_sibling,
nested_tag,
nested_tag_contains
)
start_tag |
|
following_sibling |
|
preceding_sibling |
|
nested_tag |
|
nested_tag_contains |
|
chr
xpath statement
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.