summaryrefslogtreecommitdiffstats
path: root/libxml2/test/ent2
diff options
context:
space:
mode:
Diffstat (limited to 'libxml2/test/ent2')
-rw-r--r--libxml2/test/ent211
1 files changed, 11 insertions, 0 deletions
diff --git a/libxml2/test/ent2 b/libxml2/test/ent2
new file mode 100644
index 0000000..155e2d2
--- /dev/null
+++ b/libxml2/test/ent2
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<!DOCTYPE EXAMPLE SYSTEM "example.dtd" [
+<!ENTITY xml "Extensible Markup Language">
+<!ENTITY title PUBLIC "-//MY-TITLE//FR" "title.xml">
+<!ENTITY image SYSTEM "img.gif" NDATA GIF>
+]>
+<EXAMPLE>
+ &title;
+ This text is about XML, the &xml; and this is an embedded <IMG src="image"/>
+</EXAMPLE>
+