PDF Creation Using Given XML and XSL
Sir , i have to use basic java programming means Inside of
public static void main(String s[]) { } and from a particular path i want to use Generated XML and XSl and generate the PDF not use of Apache. Only Use of Itext latest version. Actully i have created the PDF Of using Itext 1.0 version but when i go to itext heigher version the PDF Formatting is Not in proper formatted.so please please suggest me How can i create PDF Using XML and XSL OF ITEXT latest Version
Re: PDF Creation Using Given XML and XSL
Quote:
i have to use basic java programming means Inside of
What are "basic java programming means", and what seems to be stopping you from doing what you want?
I do not clearly understand your question. Post the code you have so far and try to explain where you are stuck or maybe someone else understands what you are asking...
Re: PDF Creation Using Given XML and XSL
Dear Sir don't confused with "basic java programming means" i just want to generate PDF Using itext5.0.jar , XML and XSL file which is in my c:\ drive.
Re: PDF Creation Using Given XML and XSL
Dear Sir Please Help me :- I have lot of Search But Not found the Code According To My Question
I have One XML :=
<?xml version="1.0"?>
<report>
<persondetail>
<name>Vishal Singh</name>
<surname>9990806510</surname>
</persondetail>
<persondetail>
<name>Vishal Singh</name>
<surname>9990806510</surname>
</persondetail>
</report>
and One XSl====>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<html>
<body>
<xsl:for-each select="report/persondetail">
<table width="100%" border="1" height="2%" cellpadding="2">
<tr>
<td width="10%"> <xsl:value-of select="name"/> </td>
<td width="90%"> <xsl:value-of select="surname"/> </td>
</tr>
</table>
</xsl:for-each>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
I want to Create PDF Using The XML and XSl from A Specific Location And Signing, WaterMark Of PDF also.
Please Provide me Code. I will be very Thankful to you
Thanks