RE: How to capitalize text ???

2004-02-10 Thread Dang Minh Phuong
/xsl:variable xsl:variable name=lowercaseabcdefghijklmnopqrstuvwxyz/xsl:variable xsl:template match=text() xsl:value-of select=translate(.,$lowercase,$uppercase)/ /xsl:template This will translate all lowercase text in XML to uppercase. Wouter - Original Message - From: Dang Minh

How to capitalize text ???

2004-02-09 Thread Dang Minh Phuong
Hi all, I have a text received from the DB and put in xml file. Now I want to capitalize that text when showing it in PDF using FOP. How can I do that ??? Thanks for your help.

FOP NullPointerException !!!

2003-10-28 Thread Dang Minh Phuong
Hi all, Suddenly, I hit this problem: java.lang.NullPointerException at org.apache.fop.render.pdf.fonts.LazyFont.getAscender(LazyFont.java:127) at org.apache.fop.layout.FontState.getAscender(FontState.java:143) at org.apache.fop.layout.LineArea.(LineArea.java:326)

RE: FOP NullPointerException !!!

2003-10-28 Thread Dang Minh Phuong
: Dang Minh Phuong [EMAIL PROTECTED] Hi all, Suddenly, I hit this problem: java.lang.NullPointerException at org.apache.fop.render.pdf.fonts.LazyFont.getAscender(LazyFont.java:127) at org.apache.fop.layout.FontState.getAscender(FontState.java:143

[ERROR] leader sizes wrong error message ???

2003-10-21 Thread Dang Minh Phuong
hi all, when I generate my pdf using FOP 0.20.5rc2, I always have this error message even though my pdf is generated correctly. What is going on with my code and how to avoid this error message. Thanks in advance. - To

stop a for-each looping ???

2003-10-21 Thread Dang Minh Phuong
Hi all, I use for-each to loop through all nodes and test the value. If the condition is true, I'd like to stop the loop. How can I do that. Could you help me to suggest ideas??? Thanks - To unsubscribe, e-mail: [EMAIL

Center a table in a cell ???

2003-09-26 Thread Dang Minh Phuong
Hi all, I want to center a table in a cell. I put the nested table in fo:block and I use display-align=center. But it doesn't seem to work. The nested table still appears at the left edge of the cell. What have I missed??? - To

square in pdf ???

2003-09-25 Thread Dang Minh Phuong
Hi, I am creating a pdf form with a place to show ID number. I need to show an array of small empty squares (user will write down your id manually) or small squares with one letter in each. I really do not know how to do. Any help is appreciated.

RE: square in pdf ???

2003-09-25 Thread Dang Minh Phuong
But my ID field appears inside a table. Is it possible to nest a table inside another table??? -Original Message- From: Chris Bowditch [mailto:[EMAIL PROTECTED] Sent: Thursday, September 25, 2003 5:09 pm To: [EMAIL PROTECTED] Subject: Re: square in pdf ??? From: Dang Minh Phuong [EMAIL

Simulating checkbox in fop ???

2003-09-23 Thread Dang Minh Phuong
Hi all, I am creating a report using fop. I have a lot of checkboxes in html user interface and base on what users have checked, I generate a report look the same with the html form. I intend to show a small square for empty checkbox and a small square with a stick (x) inside. Can it be done by

RE: Reading XML from JAR.

2002-11-27 Thread Dang Minh Phuong
I have faced this problem before. I think this link is useful for you http://www.javaworld.com/javaworld/javatips/jw-javatip49.html - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]