Hi,
Normally the stylesheet does not generate such messages. To turn them off, we need to discover the cause.

This message is coming from the template named 'gentext.template' in common/l10n.xsl. That XSL template is part of the machinery that generates text, such as for the table of contents or cross references.

Specifically, that template is called when a title is being generated for the given element. It is a little confusing because the "template" referred to in the message is one of the <l:template> elements in the gentext file such as common/en.xml to define text patterns for generated text. Since para does not have a title, there is no gentext template for it, hence the error message.

The question then becomes, under what circumstances is this template being called in the context of a para. Are you using a customization layer? Do you get the same result when you use the stock stylesheet?

Bob Stayton
Sagehill Enterprises
[email protected]

On 6/1/2014 9:47 PM, anmol gupta wrote:
Hi,

I am getting a lot of warning messages although the pdfs get generated
correctly.

the warnings look like:

No template for "/book/chapter/section/section/section/note/para" (or any
of its leaves) exists in the context named "title" in the "en" localization.

No template for "/book/chapter/section/section/para" (or any of its leaves)
exists in the context named "title" in the "en" localization.

No template for "/book/chapter/section/section/orderedlist/listitem/para"
(or any of its leaves) exists in the context named "title" in the "en"
localization.

No template for "/book/chapter/section/section/orderedlist/listitem/para"
(or any of its leaves) exists in the context named "title" in the "en"
localization.

No template for "/book/chapter/section/section/orderedlist/listitem/para"
(or any of its leaves) exists in the context named "title" in the "en"
localization.

No template for
"/book/chapter/section/section/orderedlist/listitem/note/para" (or any of
its leaves) exists in the context named "title" in the "en" localization.


Is there way to suppress these warning?


Regards,

Anmol


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to