|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: FOP - what, where, when, how?
Checkout http://xml.apache.org/fop/ and also I suggest subsrcibing to the fop-user mailing list. On Fri, Mar 22, 2002 at 01:57:48PM -0000, Alastair Growcott wrote: > I'm looking at converting XML documents via XSL to PDF. I have looked in > the archives, etc. and I see a lot of references to something called FOP > by James Tauber. I even saw an article by someone which gave an example > of using it (which admittedly was not working), that looked similar to > what I am doing. > > Firstly, the namespace reference I saw mentioned; > > http://www.w3.org/TR/WD-xsl/FO > > seems to be a broken link. Secondly, I don't have Java on my machine. XT > comes as a nice Win32 executable. Does FOP? > > Even while writing this post I have found out that FO is part of XSL, > but still lack much information that I will be studying up on. I am also > unsure about the nature of PDF and licensing issues, and what the > difference is between the FOP output and the stuff that Adobe's Acrobat > writer program produces. > > I currently am successfully converting the XML to HTML via XSL such that > when I double click on the XML file, IE6 automatically runs and displays > the XML as HTML. Can I do this when converting into PDF? I.e. if I > double click on the XML it will automatically be displayed by Adobe > Acrobat reader? > > Here is a sample of how I am doing my HTML conversion. Is it possible > someone could edit it to work with FOP, and post it back? > > sample.xml > ---------- > > <?xml version="1.0"?> > <?xml-stylesheet type="text/xsl" href="sample.xsl"?> > <mydoc> > <question>Are you there?</question> > <answer>Maybe!</answer> > </mydoc> > > sample.xsl > ---------- > > <?xml version="1.0"?> > <html xmlns:xsl="http://www.w3.org/1999/XSL/Transform" > xsl:version="1.0"> > <head><title>Question and answer session</title></head> > > <body> > <b>Question: </b><xsl:value-of select="/mydoc/question"/><br/> > <b>Answer: </b><i><xsl:value-of select="/mydoc/question"/></i><br/> > </body></html> > > Many thanks for any assistance. > > Alastair. > > > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list -- David B. Bitton david@xxxxxxxxxxxxxx Diversa ab illis virtute valemus. XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








