Jump to content

libeg

Members
  • Posts

    3
  • Joined

  • Last visited

Everything posted by libeg

  1. Hi!Well we are using schemas to define our business objects but that might not be important. What I want to do is to create a document in pdf including a template of a contract with some predefined chapters and then include xml information in pre defined places. "I don't know if there's a "clean" way with which you could execute XSL-FO as PDF."I dont know what you mean by clean, but I'm using Altova XMLSpy, I have downloaded a FO engine (fop.bat) from Apache and integrated it into XML Spy so that when I choose "XSL-FO transformation" for my *.fo file I get a PDF output very neatly.According to "XMLSpy Help" it should also be possible to define XSLT and the tool should handle a two step processing from XSLT to XSL-FO to PDF. I cant get it to work though. (The pdf is empty or I get a java exception.)Comments?Lisa
  2. Hi,very useful questions and answeres! Can I ask some more about XSL:FO.Im pretty new to XSLT and XSL-FO. Im working on a meta data solution for my integration project. It will be built using XSDs to define the business objects, XSDs or XML to define some base information and then some functionality to generate a contract; a document in preferrably PDF format. The contract should include the XML information. So I started looking at FO. My questions are:Is XSL-FO the best technique to use? Alternatives?Can I import or include an XML document containg data into my *.Fo document?Or must I enter the content in the *.fo file? I.e how do I separate content and format in a XSD-FO solution?Best regards,Lisa"5. I personally don't like XSL-FO. I don't see any usage of it. XSLT can transform XML into XHTML and from then on, with different CSS stylesheets, you can make it good for printing, screen display and more.6. Normally XSL-FO is called as another file, the same way as XSLT (they were originally one language after all). Just like any language in the XML family, you can embed it inside an XML documet by calling the namespace, but there's no point, scince this will be messy and invalid and all. Don't embed any languages inside XML documents."
×
×
  • Create New...