xsl-list
[Top] [All Lists]

Re: [xsl] HTML character entity issue

2008-12-28 11:32:17



XSLCmd :WARNING: Unexpected element: 'br' after 'fo:#text' in
'fo:block'.

The error message is fairly explicit, your problem is nothing to do with
entities, or with XSLT.

You have generated

<fo:block>
... <br/> ...
</fo>block>


so you are generating an XSL-FO file and have inserted an HTML br
element in the middle of it. That is an error, FO files should only have
FO elements (unless arapped in foreign object extension element).

The error message is not coming from the XSLT engine but rather from the
XSL-FO engine that is processing the FO file that XSLT created.

To get a linebreak in FO you either want to just use  linebreak
character (#10) together with setting appropriate properties on
the block that the linebreak is rendered, or you can make two separate
fo:block.

David

________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 
________________________________________________________________________

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>