Hi folks,

XXE Standard is a top product, by the way - many thanks!  I aspire to 
purchase the professional edition sometime and start hacking with its 
API (I can envisage a few interesting applications!).

In the meantime, I'm trying to write a longish document, and have 
(naively I suppose) thought to compose it using document references.  So 
for example, I'm trying to make an Article, and embed in it a Section 
which embeds another Section.  XXE itself handles this just fine.  But 
I'm not having much luck outputting it to any useful format.  Below are 
the files I got when creating level3.xml, then level2.xml, then 
level1.xml, and pasting a document reference to level3.xml into 
level2.xml, and then pasting a document reference to level2.xml into 
level3.xml.

When using XXE with the xep_foprocessor (with the XEP trial), and using 
the Docbook menu to transform to PDF, it all just works (except that 
after 11 pages, every odd page is blank, owing to the XEP trial)..

But when I try FO Converter or XEP Assistant (personal edition) on it, 
then instead of the included content of level3.xml, there's a glorious 
red '<xi:include></xi:include>'.

How can I get the multi-level document assembled?

thanks,
David Bullock.




<!-- level1.xml -->
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"; [
<!ENTITY __demo2__efv3ib3o SYSTEM "demo2.xml">
]>
<article>
  <title>Level 1</title>

  &__level2__efv3ib3o;
</article>



<!-- level2.xml -->
<?xml version="1.0" encoding="UTF-8"?>
<section>
  <title>Level 2</title>

  <xi:include href="level3.xml" 
xmlns:xi="http://www.w3.org/2001/XInclude"; />
</section>


<!-- level3.xml -->
<?xml version="1.0" encoding="UTF-8"?>
<section>
  <title>Level 3</title>

  <para></para>
</section>

Reply via email to