I wonder if it is possible to load the entities from different
locations. We want to create several books using the same entities. But
also use book specific entities. I wonder if this is possible because
everything I tried failed with errors.

For example the following fails with:
FATAL ERROR: parser:27 in Book_Info.xml on line 9: Entity 'PROJECT_NAME'
not defined
 at /usr/bin/publican line 1223.

Where PROJECT_NAME is defined in global.ent.

Any ideas?


<!DOCTYPE bookinfo PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"; [
<!ENTITY PRODUCT "Documentation">
<!ENTITY BOOKID "MyBook">
<!ENTITY YEAR "2015">
<!ENTITY HOLDER "| You need to change the HOLDER entity in the
en-US/MyBook.ent file |">
<!ENTITY % GLOBAL_ENTITIES SYSTEM "global.ent">
%GLOBAL_ENTITIES;
]>


global.ent:
<!ENTITY PROJECT_NAME "MyProjectName">

_______________________________________________
publican-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/publican-list
Wiki: https://fedorahosted.org/publican

Reply via email to