SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Evangelist ikeo's Avatar
    Join Date
    Oct 2004
    Location
    Austin Texas
    Posts
    591
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Can PDFs be generated from XML with and XSL ...

    This might be a stupid question but can you generate a PDF file from an XML file by using an XSL file to display it ( .... the same way you can display HTML from XML?)

    I know there are tools out there that can do it, but I wanted to know if it was just a question of tagging data so it displayed as in PDF format just the same way you markup data so it displays as HTML.

  2. #2
    SitePoint Enthusiast
    Join Date
    Apr 2004
    Location
    Ireland
    Posts
    91
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    slightly more complex than that, yes xsl can transform xml into pdf but this is done with a different member of the xsl family XSL-FO rather than xslt that is used for xml to html/xml/text etc. XSLT is more widely supported so numerous programs and languages now have an xslt engine, the only free xsl-fo engine i know of is apache fop that runs on java although there is a pear project to get this working with php also.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •