diff options
Diffstat (limited to 'examples/xml/unicode.xml')
-rw-r--r-- | examples/xml/unicode.xml | 12 |
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 "ç"> + <!ATTLIST test lang CDATA #IMPLIED> +]> +<doc> + <test lang="français">UTF-8 character.</test> + <test lang="français">numeric ref.</test> + <test lang="français">entity ref.</test> +</doc> |