problem with image path

2004-10-19 Thread Eldho George
Hai all The following is my code snippet for handling img tag.I has some problem with image path. I have created a servlet to converting a web page into pdf.For this i have used a button on my page to invoke the servlet and gets the pdf of current web page.Here i am used the image

RE: how to make pdf file using fop output

2004-10-12 Thread Eldho George
/ ExampleXML2PDF.java?rev=1.10 On 12.10.2004 12:27:27 Eldho George wrote: Hai all The following is my code snippet. I want to create a pdf file using fop output. But it is not working .i am trying to open that pdf with adobe acrobat 6.0. It showing some message like this is not a supported file type

RE: table processing warning

2004-09-27 Thread Eldho George
You can try this also xsl:attribute-set name=table-structure xsl:attribute name=table-layoutfixed/xsl:attribute xsl:attribute name=space-before0pt/xsl:attribute xsl:attribute name=space-after0pt/xsl:attribute xsl:attribute name=border2px/xsl:attribute

problem with function

2004-09-24 Thread Eldho George
Hai all The following is my code snippet.Here I am passing html string for making its xhtml But its showing error like the function should return string.A tried with diff possibilities.But its not get solved .If anyone know please help me Public String makeXhtml(String pageContent) {

what are the other output produced by fop using xsl-fo.

2004-09-23 Thread Eldho George
Hi all I created one xsl file for converting a html page into pdf.(Using xsl-fo).It works fine. Here I am producing the formatting object tree using xhtml and my xsl-fo file.I am not storing the fo in Hard disk.I am directly apply it to the driver. I would like to know ,using fop what are the

FW: Problem with font

2004-09-21 Thread Eldho George
I have a problem with font.The following is my font template fo:inline font-size={$size} font-family={$face} color={$color} line-height=12pt xsl:apply-templates select=*|text()/ /fo:inline I have problem with large font size .Suppose I am using the size as 12pt,if the content is

Servlet wants to read a file present in the same folder.How can i specify th path

2004-09-18 Thread Eldho George
Hai all Thanks to Chris, Thanks to all for your reply. I got the output with both xml and xsl as string.Instead of XsltInputHandler i am used javax.transformer. The following code will work perfectly. Source xmlSrc = new StreamSource(new StringReader(xml)); Source xslSrc = new

How to store the parsing output of tidy into a ByteArray

2004-09-17 Thread Eldho George
Hi all I have the url content in a string.That means string contains html code.I want to pass it to w3c tidy ,perform clean and stored it in a byte array.I tried with following code snippet.But it showing error message and output some junk data. Instead of byte array I tried with

problem with XSLTInputHandler(String,String) constructor

2004-09-17 Thread Eldho George
Hi all, I have problem with XsltInputHandler. I tried with the following code.But its not working.I worked with XsltInputHandler (file,file)constructor. It worked fine.Please tell me what is the problem.I want to pass xml and xsl as string.Please help me.Thanks in advance xsl is a

problem with transformer object also

2004-09-17 Thread Eldho George
Hai all Hai all Thanks in advance I have also tried with the following code snippet.But I could not get the pdf.Please help me .What is the actual problem.If I use both xml and xsl as file it will work properly xsl is a string variable that conatins my xsl contents

I have problem with table.

2004-09-17 Thread Eldho George
Hai all I have problem with table.For building table column i am using the following style. xsl:for-each select=tr/th|tr/td|thead/tr/th|thead/tr/td fo:table-column/ /xsl:for-each It will work properly if all the tr contain same number of td/th. I want to work with different

problem with image border

2004-09-09 Thread Eldho George
Hai all I have some problem with image border.If border attribute is present in image; the PDF will show the image border on the entire page width. That means, at the right hand side of the image, the image border drawn up to the end of the page width. How can I solve this

Again problem with image and table

2004-09-09 Thread Eldho George
the border in the image directly. On 09.09.2004 09:13:44 Eldho George wrote: I have some problem with image border.If border attribute is present in image; the PDF will show the image border on the entire page width. That means, at the right hand side of the image, the image border drawn up

FW: problem with table(sorry ,i got small mistake)

2004-09-09 Thread Eldho George
Hi all I have some problem with table .It showing the table with entire page width. That means suppose I have created only one column, it will occupy the entire page width and show the column with that much of width. I want to make the table according to the table content.(That

RE: how can I create template for manipulating embedded and exter nal style sheet present in the html page? Is it possible?

2004-09-08 Thread Eldho George
this problem Thanks and Regards Eldho George Junior Software Engineer Ocwen Financial Solution Pvt.Ltd. Ph:56671234-1050 -Original Message- From: Clay Leeds [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 07, 2004 11:09 PM To: [EMAIL PROTECTED] Subject: Re: how can I create template

Can I apply the url content to html2fo dynamically?

2004-09-08 Thread Eldho George
style sheet present in the html page? Is it possible? Eldho George wrote: I would like to know *how can I create template for manipulating embedded and external style sheet present in the html page? Is it possible?* Google for html2fo and/or xhtml2fo. First hit http://html2fo.sourceforge.net

problem with image border

2004-09-08 Thread Eldho George
Hai all I have some problem with image border.If border attribute is present in image; the PDF will show the image width on the entire page width. That means, at the right hand side of the image, the image border drawn up to the end of the page width. How can I solve this

RE: how can I create template for manipulating embedded and exter nal style sheet present in the html page? Is it possible?

2004-09-07 Thread Eldho George
-progression dimension='100%'. Eldho George wrote: | | | Hi, | | | | | | I would like to know *how can I create template for manipulating | embedded and external style sheet present in the html page? Is it | possible?* | | | | *Please help meplease tell me is it possible with | xslt

How can i adjust the table width and height according to table co ntent?

2004-09-07 Thread Eldho George
Hi all, How can i adjust the table width and height according to table content? Suppose I am not specifying the table width and height in table element, the table will be displayed on the entire page width. (It occupying entire page width.)How can I adjust table width and height? For solving this

how can I create template for manipulating embedded and external style sheet present in the html page? Is it possible?

2004-09-06 Thread Eldho George
Hi, I am working with the project of converting a web Page into PDF.I am using FOP.I am creating the formatting object tree using xslt.I already create template for most of the html 4.0 tags and everything this working perfectly.But I have problem with table .It showing the

how can I create template for manipulating embedded and external style sheet present in the html page? Is it possible?

2004-09-06 Thread Eldho George
I would like to know how can I create template for manipulating embedded and external style sheet present in the html page? Is it possible? Please help meplease Thanks in advance George **

how can I create template for manipulating embedded and external style sheet present in the html page? Is it possible?

2004-09-06 Thread Eldho George
Hi, I would like to know how can I create template for manipulating embedded and external style sheet present in the html page? Is it possible? Please help meplease tell me is it possible with xslt+xsl-fo? I already created template for processing inline style

how can I create template for manipulating embedded and external style sheet present in the html page? Is it possible?

2004-09-03 Thread Eldho George
Hi, I am working with the project of converting a web Page into PDF.I am using FOP.I am creating the formatting object tree using xslt.I already create template for most of the html 4.0 tags and everything this working perfectly.But I have problem with table .It showing the table

how can i convert html /jsp to pdf using fop

2004-08-06 Thread Eldho George
Hi, I am working with a project of converting a web page (html/jsp) to pdf format.I am trying with fop.But how can i convert html /jsp to pdf using fop.Is there any api availablr for converting html to pdf.can i directly convert xml to pdf without giving any xslt using java coding?if method

How can i convert xml file to xsl-fo without giving any xslt.

2004-08-03 Thread Eldho George
Hi, How can i convert xml file to xsl-fo without giving any xslt. Actually my problem is i have to convert one html to pdf format using fop.I tried with fop example.But there is a need to supply xsl file. can i directly convert xml to pdf without spacifying any xslt. I am new in fop and