summaryrefslogtreecommitdiff
path: root/examples/xml/unicode.xml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/xml/unicode.xml')
-rw-r--r--examples/xml/unicode.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/examples/xml/unicode.xml b/examples/xml/unicode.xml
new file mode 100644
index 0000000..618bfef
--- /dev/null
+++ b/examples/xml/unicode.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE doc [
+ <!ELEMENT doc (test+)>
+ <!ELEMENT test (#PCDATA)>
+ <!ENTITY ccedil "&#231;">
+ <!ATTLIST test lang CDATA #IMPLIED>
+]>
+<doc>
+ <test lang="français">UTF-8 character.</test>
+ <test lang="fran&#231;ais">numeric ref.</test>
+ <test lang="fran&ccedil;ais">entity ref.</test>
+</doc>