Hi, I have a xml file which is having some text with line break. After generating PDF i am loosing the line break. I tried different combinations but it is not working.
Actually after generating XSL-FO file, i checked it is not having line break.
I tried for char '
' and added a fo-block for line break. but not
able to find this char in string.
linefeed-treatment="preserve" is also used.
I am posting all files, including PDF, FO-Output and XSL file.
Actually this all working when Line1 and Line2 are inside title tag.
<Books>
<Book>
<Title>
Line 1
Line 2
</Title>
</Book>
</Books>
Any help would be appreciated.
Thanks
Neeraj
<?xml version="1.0" encoding="utf-8" ?>
<Books>
<Book>
<Title text='Line 1
Line 2'/>
</Book>
</Books><?xml version="1.0" encoding="utf-8" ?> <PRINT ishtmlrighttoleft="False"> <MAP height="200" width="200" /> <TIME value="2013-02-21 18:27" /> <PATH value="http://NCHAURASIA/OnPointWebSite75EP/" /> <Route distance='1,571.86 ft' time='' ><StartPoint>599,284.216 m, 2,431,659.231 m</StartPoint><EndPoint>599,717.816 m, 2,431,690.203 m</EndPoint><Directions hasmapurl='false'><Direction index='1' maneuvertype='Depart' direction='Start at 599,284.216 m, 2,431,659.231 m ' drivedistance='0.00 ft' mapurl='' /><Direction index='2' maneuvertype='Straight' direction='Go east on BOULEVARD DES BATIGNOLLES toward RUE DE SAINT-PETERSBOURG/PLACE DE CLICHY Drive 23.3 m BOULEVARD DES BATIGNOLLES ' drivedistance='76.39 ft' mapurl='' /><Direction index='11' maneuvertype='Stop' direction='Finish at 599,717.816 m, 2,431,690.203 m, on the left ' drivedistance='0.00 ft' mapurl='' /></Directions></Route></PRINT>
out.fo
Description: Binary data
out.pdf
Description: Adobe PDF document
--------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
