Paterline, David L. wrote:
Hi -
I'm interested in having a table of information appear in two separate pages
(rather than having links to the information in both pages), and I'd like to
only have to maintain the information in one place. Is there a way to have
the contents of an external file "compiled" into two or more xdoc files?
Use xi:include. For example:
<?xml version="1.0" encoding="UTF-8"?>
<document
xmlns:xi="http://www.w3.org/2001/XInclude">
<header>
<title>Hello</title>
</header>
<body>
...
<xi:include href="include.xml"/>
...
</body>
</document>
Note you can use the full xinclude specification so you can use XPointer
to include segments of the src file.
Ross