[oXygen-user] XInclude and Entities
    Sean Wheller 
    
       
    Mon Aug 23 04:24:00 CDT 2004
    
    
  
Hi,
A document with the following DocDecl
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
                      "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
<!ENTITY % xinclude SYSTEM "/home/sean/apps/oxygen/docbook/dtd/xinclude.mod">
%xinclude;
<!ENTITY % global_entities SYSTEM "global.ent">
%global_entities;
]>
With XIncludes that use Entities provided by gobal.net
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 
href="&prt02_supplychain;">
		<xi:fallback xmlns:xi="http://www.w3.org/2001/XInclude">
			<para>
				<emphasis>FIXME: MISSING XINCLUDE CONTENT</emphasis>
			</para>
		</xi:fallback>
	</xi:include>
I get an error, but to best of my knowledge the value of an attribute is 
allowed to be an entity
F The external entity reference "&prt02_supplychain;" is not permitted in an 
attribute value.
Any ideas where the problem is?
-- 
Sean Wheller
084-8549408
http://www.enbaya.co.za
    
    
More information about the oXygen-user
mailing list