How to use the default function from xpath

Find comprehensive JavaScript xpath.default code examples handpicked from public code repositorys.

85
86
87
88
89
90
91
92
93
94
const doc = new xmldom_1.DOMParser().parseFromString(temp_response.data);
const contract_addresses = xpath_1.default
    .select('//*[@id="transfers"]/div[2]/table/tbody/tr/td[1]/a/text()', doc)
    .toString()
    .split(",");
const contract_names = xpath_1.default
    .select('//*[@id="transfers"]/div[2]/table/tbody/tr/td[2]/text()', doc)
    .toString()
    .split(",");
for (let i = 0; i < contract_addresses.length; i++) {
fork icon3
star icon1
watch icon1

+ 2 other calls in file