[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: XSL, XSL:FO

Subject: RE: XSL, XSL:FO
From: "Ganesh Babu Nallamothu, Integra-India" <ganeshbabu.nallamothu@xxxxxxxxxxxxxxxxx>
Date: Wed, 10 Nov 2004 12:42:45 +0530
free xsl fo processor
Hi Arun,

The current version is 0.20.5 Same I am using. Binary is ok. Source version
for using java code not for xsl-fo coding. For xsl-fo coding you have to
check the examples folder. In this folder you will get how to code fo. These
codings we have to combine with our xsl file. one more document is in the
docs folder will give you the list of options or parameters in fo.

Regards,
Ganesh

-----Original Message-----
From: Arun Sinha [mailto:arunsinha666@xxxxxxxxxxx]
Sent: Wednesday, November 10, 2004 10:12 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE:  XSL, XSL:FO


Hello Ganesh,

Now I am able to produce PDF files via FOP.

I just wanted to know which version of FOP you are using.

I have downloaded the BINARY version. Is this OK?

I have seen some examples on the web and some of them
suggest to use the SOURCE version.

Sorry to disturb you again.

Cheers.

Arun



>From: "Ganesh Babu Nallamothu, Integra-India"
><ganeshbabu.nallamothu@xxxxxxxxxxxxxxxxx>
>Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
>To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
>Subject: RE:  XSL, XSL:FO
>Date: Mon, 8 Nov 2004 12:53:29 +0530
>
>Dear Arun,
>
>First we have to know the usage of XSL. This is the language with which we
>can able to derive different outputs from XML files. By using XSL we can
>able to convert XML files into Text, HTML, XHTML, SGML, FO, user defined
>coding and XML
>
>IE is the tool to view the html/XHTML output. To get other inputs you need
>to have XSL Processor.
>
>The famous XSL Processors are:
>
>1. Xalan
>2. Saxon
>3. XT
>4. xsltproc
>
>I am using Xalan to convert XML into other formats.
>
>Specific to XSL-FO:
>
>Download the free XSL-FO Processor FOP from http://xml.apache.org/fop
>
>This is the tool which will convert you XML to PDF with the help of XSL
>file
>you have written.
>
>Regards,
>Ganesh
>
>
>-----Original Message-----
>From: Arun Sinha [mailto:arunsinha666@xxxxxxxxxxx]
>Sent: Monday, November 08, 2004 11:39 AM
>To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
>Subject:  XSL, XSL:FO
>
>
>Hi,
>
>What is the basic requirement for XSL:FO?
>
>When I started learning and coding XSL the only software
>needed was IE.
>
>Now I am trying to learn XSL:FO but it isn't working.
>Do I need to install and run any software for XSL:FO ?
>
>I have the following XML and XSL:FO code but it isn't getting
>formtted as per the code.
>
>XML :-
>
><?xml version='1.0' encoding='UTF-8' standalone='yes' ?>
><?xml-stylesheet type='text/xsl' href='test.fo' ?>
><document>
>   <section>
>    <head>My very first xsl-fo document</head>
>    <para> A new <em>technology</em> to learn</para>
>   </section>
>   <section>
>     <head>The second section should start on a new page </head>
>    <para>The second section</para>
>   </section>
></document>
>
>
>XSL/XSL:FO :-
><?xml version="1.0" ?>
>
><xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
>				xmlns:fo="http://www.w3.org/1999/XSL/Format" version="1.0">
>
><xsl:output method="xml"/>
>
><xsl:template match="/">
><fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
>
>	<fo:layout-master-set>
>		<fo:simple-page-master
>			master-name="simple"
>			page-height  ="29.7cm"
>			page-width   ="21cm"
>			margin-left  ="2.5cm"
>			margin-right ="2.5cm">
>			<fo:region-body margin-top="13cm"/>
>		</fo:simple-page-master>
>	</fo:layout-master-set>
>
>	<fo:page-sequence master-reference="simple">
>		<fo:flow flow-name="xsl-region-body">
>			<xsl:apply-templates/>
>		</fo:flow>
>	</fo:page-sequence>
>
></fo:root>
></xsl:template>
>
><xsl:template match="document">
>	<fo:block>
>		<xsl:apply-templates/>
>	</fo:block>
></xsl:template>
>
><xsl:template match="section">
>   <fo:block break-before="page">
>     <xsl:apply-templates/>
>   </fo:block>
></xsl:template>
>
><xsl:template match="head">
>	<fo:block>
>		<xsl:apply-templates/>
>	</fo:block>
></xsl:template>
>
><xsl:template match="para">
>	<fo:block>
>		<xsl:apply-templates/>
>	</fo:block>
></xsl:template>
>
><xsl:template match="em">
>	<fo:inline font-style="italic">
>		<xsl:apply-templates/>
>	</fo:inline>
></xsl:template>
>
><xsl:template match="*">
>	<fo:block background-color="red">
>		<xsl:apply-templates/>
>	</fo:block>
></xsl:template>
>
></xsl:stylesheet>
>
>
>Thanks in advance.
>
>Arun
>
>_________________________________________________________________
>Apply to over 65,000 jobs now.
>http://www.naukri.com/msn/index.php?source=hottag Post your CV on
>naukri.com
>today.
>

_________________________________________________________________
The happening world of BPO! Know all that you need to know!
http://www.bpowatchindia.com/msn/ Keep in step with whats hot!

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.