ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> pear-general
pear-general
[PEAR] Freaky issue with Flexy and foreach breaks fo2pdf
by Dan Rossi other posts by this author
May 11 2005 7:35PM messages near this date
Re: [PEAR] To cover all the elements of a HTML_QuickForm | Re: [PEAR] Re: Problems installing PEAR under WinXP with PHP 5.0.3?
Hi there, I am developing a custom Java class of Apache's XMLFO. I have 
also built a class implemntation of XML_fo2pdf but for html 
XML_HtmlToPDF. I am sending a html string created from Flexy , I dont 
have a servlet or java extension compiled (experimental) therefore i am 
saving the html as a temp file. The Java app I am building will then 
load the temp html file, a temp fo file, and run another app called 
html2fo :) I am going to bypass html2fo once i sought out how to 
transform html to a fo file using xsl. Anyway it creates the fo file 
ok.

However i am using a flexy foreach within a row of a table at the end. 
A freaky thing is happening, Flexy is adding the </table>  tag after the 
row tag obviouslly with some freaky whitespace and characters it looks 
like

	</tr> 			</table>

What happens here is the saxparser to transform the fo breaks, because 
of this ! now it should be looking the way i have it in the html like 
this :)

	</tr> 
</table> 

Let me know a workaround. Also if anyone is interested in the custom 
app lemme know, I am considering submitting it within the XML_fo2pdf 
package. I had to add a Java class to bypass if the Java extension isnt 
there and run Java via passthru :)

-- 
PEAR General Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved