summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/patternist/escapeStringLiterals.xq
diff options
context:
space:
mode:
Diffstat (limited to 'doc/src/snippets/patternist/escapeStringLiterals.xq')
-rw-r--r--doc/src/snippets/patternist/escapeStringLiterals.xq7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/src/snippets/patternist/escapeStringLiterals.xq b/doc/src/snippets/patternist/escapeStringLiterals.xq
new file mode 100644
index 0000000..4a6054b
--- /dev/null
+++ b/doc/src/snippets/patternist/escapeStringLiterals.xq
@@ -0,0 +1,7 @@
+<p>
+{
+ """I hate quotations"" -- Ralph Waldo Emerson""",
+ "&#xA;",
+ '''"I hate quotations"" -- Ralph Waldo Emerson"'', appeared above'
+}
+</p>