Created
November 21, 2014 21:41
-
-
Save MorganDaniels/e1de7f8cf8dae6dfafb9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
xquery version "3.0"; | |
let $doc := | |
<html> | |
<head> | |
<title>My test webpage</title> | |
</head> | |
<body> | |
<h1>Hello, world!</h1> | |
<p>Welcome to my test web page!</p> | |
</body> | |
</html> | |
for $text in $doc//text() | |
return fn:upper-case($text) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment