Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
baltcode
· 13y ago · 0 comments
Sometimes I want to use XQuery in the web console for pages that don't use XQuery. Does anybody know how to dynamically include XQuery on loaded pages to use with the web console?
Comments
[–]
roryokane
13y ago
Well, I know you can inject
jQuery
into any web page using the “jQuerify” button in FireQuery (
http://firequery.binaryage.com/
). But I’ve never even heard of XQuery before now. According to
https://en.wikipedia.org/wiki/XQuery
, it seems to be a standard language, rather than a JavaScript library. What library do you use?
http://www.xqib.org/
?
[–]
aeontech
13y ago
You can use $x('//some/xpath') for testing XPath's which can be very useful, but not sure about XQuery, never even heard about it being used before.