jakub 4. 2. 2010 15:06:20 Body: 3625 Najaktívnejší č.: 8 xml-xlst-html-do pdf cez itextsharp convert priamo z xml je jednoduche,ale chcem vyuzit xlst resp.html,kde mam vygenerovany formular aj s datami z xml ,proste ako z konvertovat html(xlst) do pdfusing System;using System.IO;using iTextSharp.text;using iTextSharp.text.xml;using iTextSharp.text.pdf;public class Chap0702 ...{ public static void Main() ...{ Console.WriteLine("Chapter 7 example 2: parsing the result of example 1"); // step 1: creation of a document-object Document document = new Document(); try ...{ // step 2: // we create a writer that listens to the document // and directs a XML-stream to a file PdfWriter.getInstance(document, new FileStream("Chap0702.pdf", FileMode.Create)); // step 3: we create a parser iTextHandler h = new iTextHandler(document); // step 4: we parse the document h.Parse("Chap0701.xml"); } catch (Exception e) ...{ Console.Error.WriteLine(e.StackTrace); Console.Error.WriteLine(e.Message); } }} jakub [Reakcia]
vlko 4. 2. 2010 23:28:36 Body: 34425 Najaktívnejší č.: 1 RE: xml-xlst-html-do pdf kedze vies urobit xml -> pdf co ziskas tym, ze urobis xml->html (s xslt)->pdf? [Reakcia]
jakub 5. 2. 2010 10:07:20 Body: 3625 Najaktívnejší č.: 8 RE: xml-xlst-html-do pdf v xlst mam urobeny formular ,ktory mi generuje do html a tento formular chcem do pdf jakub [Reakcia]
Looser 5. 2. 2010 12:52:10 Body: 1695 Najaktívnejší č.: 17 RE: xml-xlst-html-do pdf nova xslt transformacia do fopu a z fopu do .pdf 100011010011001100110210 ...(2?) [Reakcia]
Looser 5. 2. 2010 12:54:05 Body: 1695 Najaktívnejší č.: 17 RE: xml-xlst-html-do pdf co znamena, ze staru .xslt transformaciu uz nevyuzijes, ale samozrjme sa s nou da celkom rozumne inspirovat pri tvorbe xsl-fo 100011010011001100110210 ...(2?) [Reakcia]