Source
Nothing pasted here is ever uploaded, fetched or executed — see the note below the results.
Query
No matches, and this document has a
default xmlns on its root. XPath 1.0 treats an unprefixed name as "no namespace" —
which the elements here are NOT in — so //item matches nothing even when an
<item> is right there. Try *[local-name()='item'] instead, which
matches regardless of namespace.
Preview
Matches
Parsed, and for HTML genuinely rendered, entirely in this browser. The HTML preview runs inside a
sandboxed frame with no script execution allowed and a Content-Security-Policy that blocks every network
request the source could make — an <img>, an external stylesheet, a font —
so nothing pasted here is ever fetched, even though it is really rendered rather than only parsed. XML has
no comparable page-like look of its own, so it gets a pretty-printed tree instead, built without ever
reusing the source text as markup a second time.
The CSS Selector & XPath Tester needs JavaScript: parsing, querying and rendering all happen in this browser. With JavaScript switched off there is nothing to do the work.