example-tutorial para-en.xml,1.1,1.2
Tommy Reynolds (jtr)
fedora-docs-commits at redhat.com
Mon Jan 30 19:14:40 UTC 2006
Author: jtr
Update of /cvs/docs/example-tutorial
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv27256
Modified Files:
para-en.xml
Log Message:
When using the <xi:include> construct to obtain content from an
external XML file, that file can include its own <!DOCTYPE> element.
Any entities defined in the external file must exactly match the same
entity declared in the main document, if any.
Entities defined in the external file are NOT visible in the
including document.
Index: para-en.xml
===================================================================
RCS file: /cvs/docs/example-tutorial/para-en.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- para-en.xml 30 Jan 2006 19:11:23 -0000 1.1
+++ para-en.xml 30 Jan 2006 19:14:32 -0000 1.2
@@ -1,3 +1,12 @@
+<!-- $Id: -->
+
+<!DOCTYPE para PUBLIC "-//OASIS//DTD DocBook V4.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
+
+ <!ENTITY BOILERPLATE "This header makes editing XML easier" >
+
+]>
+
<para>
This paragraph was obtained via an
<wordasword><xi:include></wordasword> element, just for an
More information about the Fedora-docs-commits
mailing list