Hi Anderson, Thanks for your suggestion With regards Bhaskar
-----Original Message----- From: Thorbjørn Ravn Andersen [mailto:[EMAIL PROTECTED] Sent: Thursday, June 10, 2004 2:54 PM To: [EMAIL PROTECTED] Subject: Re: How to handle &in fop [EMAIL PROTECTED] wrote: > Hi everybody, > > When the data contains '&' like CUSTOMER_NAME= "L&G ASSURANCE SOCIETY > LTD " fop is throwing the following error: > > Caused By : javax.xml.transform.TransformerException : > org.xml.sax.SAXParseExcep > > tion: The reference to entity "G" must end with the ';' delimiter. > > Can anybody help in handling the character '&'. > Use & instead. To ensure that you always generate proper XML regardless of character set, you should change all characters above 127, and <, > and & to "&#numericvalue;" instead. The numeric value is the unicode value of the character. -- Thorbjoern Ravn Andersen "...plus...Tubular Bells!" --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]