how can I select element using xmllint command?
1
vote
2
answers
186
views
I am trying to select **"Bvlgari omnia crystalline'perfume' 100ml"** by making use of xmllint from the codes below.
But As I'm newbie in the field of linux,It is insanely difficult to figure out the usage of xmllint in order to select a certain element that I want.
how can I select element **"Bvlgari omnia crystalline'perfume' 100ml"** using xmllint command in this codes?
(() => {
document.documentElement.dataset.carotene = "";
var d = window.matchMedia("(prefers-color-scheme: dark)"),
a = () => {
document.documentElement.dataset.caroteneColorMode = d.matches
? "dark"
: "light";
};
"addEventListener" in d
? d.addEventListener("change", a)
: "addListener" in d && d.addListener(a),
a();
})();
window.sentryEnv = {
release: "324cbb3",
environment: "prod-kr"
};
Search result
{"@context":"https://schema.org ","@type":"ItemList","numberOfItems":28,"itemListElement":[{"@type":"ListItem","position":1,"item":{"@context":"https://schema.org ","@type":"Product","name":"Bvlgari omnia crystalline'perfume' 100ml","description":"bvlgari omnia crystalline perfume 100ml \n\n 200 dollars \n\n\n\n","offers":{"@type":"Offer","price":"115000.0","priceCurrency":"KRW","itemCondition":"https://schema.org/UsedCondition ","availability":"https://schema.org/InStock ","seller":{"@type":"Person","name":".kwangjin"}}}}]}
Asked by bshi02
(21 rep)
Apr 30, 2025, 10:01 PM
Last activity: May 1, 2025, 09:04 AM
Last activity: May 1, 2025, 09:04 AM