<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>XQIB: Sample page</title> <meta charset="UTF-8"/> <script type="text/javascript" src="mxqueryjs/mxqueryjs.nocache.js"></script> <script type="application/xquery"> b:alert(b:dom()//h1/data(.)) </script> </head> <body> <h1>This is a title</h1> </body> </html>