> -----Original Message----- > From: Rick Roen [mailto:[EMAIL PROTECTED] > Sent: Tuesday, September 19, 2006 8:19 PM > > To convert xml to pdf you need to have an xml file (the one > below I assume) PLUS an xslt file that will convert to XSL-FO > and then you can use FOP to convert the FO file into pdf. > You can also do this in one step with FOP - xml + xslt -> > xsl-fo = pdf output. > > Now we still need your xslt file that you intend to use to > convert your xml. > > If you are by chance looking for someone to write an xslt > transformation for you - you've got the wrong guy here, but > maybe someone else will help. > > If you already have the xslt, send it so we can look at it. > > Rick > > -----Original Message----- > From: vijay [mailto:[EMAIL PROTECTED] > Sent: Tuesday, September 19, 2006 12:06 PM > > sorry rick , > sorry rick , i sended you worng xml file .again i am > sending my xml file . > (...) > > In previous mail accidentally <?xml-stylesheet type="text/xsl" > href="coun.xslt"?> tag was included. > > i wrote a xsl file for generating the pdf .but that is not > in proper way > I am generating pdf file from command prompt using > > fop -xml pdf.xml -xsl pdf.xsl -pdf pdf1.pdf command > > I am uploading my pdf.xsl(what i wrote for some other > xml ) file. > could you see it once please. > > Rick Roen wrote: > > > > Vijay, > > > > You will have to post a copy of your "coun.xslt" also. > > > > With just the xml we cannot tell what you are trying to do > to convert to > > XSL-FO > > > > Rick > > > > -----Original Message----- > > From: vijay [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, September 19, 2006 7:38 AM > > > > Hi.. > > Im hereby attaching a sample XML which im using for > coversion to PDF and > > the > > desired PDF. > > > > here is my xml file :- (...)
> > Iam attaching the snapshot of the desired PDF. > > > > Rick Roen wrote: > >> > >> Vijay, > >> This seems more like a question about XML -> XSLT conversion. > >> A better group for that would be [EMAIL PROTECTED] > >> Perhaps if you posted your XSLT and brief example of your > XML we, or > >> xsl-lists could be of more help, or if I misunderstand a > more complete > >> explanation of your problem since I don't understand > specifically what it > >> is. > >> The general process is XML + XSLT -> XSL-FO -> PDF. The > XSL-FO -> PDF is > >> quite easy and described in detail on the FOP web site. > >> > >> Rick > >> > >> -----Original Message----- > >> From: vijay [mailto:[EMAIL PROTECTED] > >> Sent: Monday, September 18, 2006 7:11 AM > >> > >> Hi all. > >> This is a problem related to the conversion from XML to PDF. > >> I have a system generated dynamic XML(where the child > nodes may vary > >> accordingly) that i need to convert to a PDF format file > using xsl-fo. > >> In the required PDF the node values in the system XML > should appear in > >> proper row n column format. > >> > >> for example if the XML contains 2 childs under the root > node n the child > >> nodes further contain 4 childs so the table will b of the > size: 2*4( i.e. > >> 2 > >> rows n 4 cols) Vijav, As Rick said, xml to pdf conversion need 2 steps: 1/ transform XML to XSL-FO, 2/ render XSL-FO as PDF Step 1/: You have to provide a XSLT to the transformation engine. You can find some tutorials about XSL-FO here at [1] or [2], or googleize if needed. Fortunately, FOP distribution embed XALAN, witch is a XSLT engine. Step 2/: this is the job of FOP. [1] http://www.w3schools.com/xsl/ [2] http://nwalsh.com/docs/tutorials/xsl/xsl/frames.html HTH, Pascal --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]