[fpc-pascal] fpdoc xml files with special characters

Michael Van Canneyt michael at freepascal.org
Wed Sep 27 21:06:17 CEST 2006



On Wed, 27 Sep 2006, Graeme Geldenhuys wrote:

> Hi,
> 
> How is fpdoc's xml files supposed to handle special characters?  For
> example, I tried to type the '&' character, and fpdoc complained.  I
> then escaped the ampersand with & which was fine.
> 
> This is all great for HTML output, but what will happen with LaTeX
> output.  Will it display the ampersand, or the escaped ampersand
> (&)?  I guess this all depends on the XMLReader unit and if it
> reverts the & back to the & sign correct?

It will deal this correctly. The backends will escape the characters
again if needed. Different backends must escape in different ways...

Michael.



More information about the fpc-pascal mailing list