Public
Edited
Mar 17
Insert cell
Insert cell
Insert cell
XPathJS = {
if (typeof window.XPathJS === 'undefined') {
window.XPathJS = undefined
await import('https://esm.sh/@mass-edge/xpathjs')
}
return window.XPathJS
}
Insert cell
Insert cell
XP = import('https://esm.sh/@qbane/xpathjs@0.2.2-1')
Insert cell
viewof withNonstandardUtilities = Inputs.toggle({label: 'With nonstandard utilities?', value: true})
Insert cell
{
const xp = XP.createDomLevel3XPathBindings({ withNonstandardUtilities })
return xp.document.evaluate('id("xxx")', document, null, 0)
}
Insert cell
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more