This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [docbook-apps] XSL: titlepage templates and entities


Michael Wiedmann wrote:

Up to now I could not find a way to use entities ( , ß, ...) in the titlepage template system and still have to use the UTF-8 equivalents ( , ß, ...) for these characters, which is not very comfortable.

Yes, there is a way. Start your template by this code:


<?xml version="1.0"?>
<!DOCTYPE t:templates [
<!ENTITY % ISOnum PUBLIC
	"ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN//XML"
	"path/to/ent/iso-num.ent">
%ISOnum;
... repeat above for all entity sets you want to use ...
]>
<t:templates xmlns:t="http://nwalsh.com/docbook/xsl/template/1.0";
	     xmlns:param="http://nwalsh.com/docbook/xsl/template/1.0/param";
             xmlns:fo="http://www.w3.org/1999/XSL/Format";
             xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>
...


-- ----------------------------------------------------------------- Jirka Kosek e-mail: jirka@kosek.cz http://www.kosek.cz

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]