I've got the following xml doc that produces the appropriate html output with the image displayed:
----------------code inserted------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
"
<section>
<title>Unpacking Instructions</title>
<para>
1. Unpack the box.</para>
<para>
2. Verify the following components are enclosed (Figure A).
</para>
<graphic fileref="./Graphics/PackageContents.bmp"/>
<para>
-----------------End of snippet----------------------------
However, when this file is included in another xml file, the image is not displayed. Xinclude code follows:
-------------------code inserted---------------------------
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
"[
<!ENTITY % xinclude SYSTEM "/Program Files/Oxygen XML Editor 7.2/frameworks/docbook/dtd/xinclude.mod" >
%xinclude;
<!ENTITY % local.common.attrib "xml:base CDATA #IMPLIED" >
]>
<book>
<title>User Manual</title>
<section>
<title>Unpacking Instructions</title>
<xi:include href="./Unpacking Instructions_files/Unpacking_Instructions-Template.xml" parse="xml"
xmlns:xi=" <xi:fallback>
<para>
<emphasis>FIXME: MISSING XINCLUDE CONTENT</emphasis>
</para>
</xi:fallback>
</xi:include>
</section>
</book>
-------------------End of code snippet----------------------
The text part of the included file gets displayed when transformed into html, but the image does not.
Any help would be greatly appreciated.
Thanks,
cmarchman
----------------code inserted------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
"
<section>
<title>Unpacking Instructions</title>
<para>
1. Unpack the box.</para>
<para>
2. Verify the following components are enclosed (Figure A).
</para>
<graphic fileref="./Graphics/PackageContents.bmp"/>
<para>
-----------------End of snippet----------------------------
However, when this file is included in another xml file, the image is not displayed. Xinclude code follows:
-------------------code inserted---------------------------
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
"[
<!ENTITY % xinclude SYSTEM "/Program Files/Oxygen XML Editor 7.2/frameworks/docbook/dtd/xinclude.mod" >
%xinclude;
<!ENTITY % local.common.attrib "xml:base CDATA #IMPLIED" >
]>
<book>
<title>User Manual</title>
<section>
<title>Unpacking Instructions</title>
<xi:include href="./Unpacking Instructions_files/Unpacking_Instructions-Template.xml" parse="xml"
xmlns:xi=" <xi:fallback>
<para>
<emphasis>FIXME: MISSING XINCLUDE CONTENT</emphasis>
</para>
</xi:fallback>
</xi:include>
</section>
</book>
-------------------End of code snippet----------------------
The text part of the included file gets displayed when transformed into html, but the image does not.
Any help would be greatly appreciated.
Thanks,
cmarchman