Subject: Re: [xsl] XSL, XSL:FO From: Kobayashi <koba@xxxxxxxxxxxxx> Date: Mon, 08 Nov 2004 15:56:10 +0900 |
I am sorry for that, I will take care of the link later. But you may download all source files from here: http://www.antennahouse.com/XSLsample/howtoRC/Howtodevelop-en.zip Best regards, > Reply to the original mail from: > xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Hello, Thanks for your email. I went to the site but the following linke isn't working. The source file is an XML document based on "SampleDoc.dtd". It is gving the following error :- Cannot have a DTD declaration outside of a DTD. Error processing resource 'http://www.antennahouse.com/XSLsample/howtoRC/SampleDoc.dtd'. Line 4, Position 11 <!ELEMENT program (#PCDATA | title)*> ----------^ Arun >From: Kobayashi <koba@xxxxxxxxxxxxx> >Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx >To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx >Subject: Re: [xsl] XSL, XSL:FO >Date: Mon, 08 Nov 2004 15:16:02 +0900 > >Hello, > >Please try to read information here: > >http://www.antennahouse.com/ > > > > Reply to the original mail from: > > xsl-list@xxxxxxxxxxxxxxxxxxxxxx > > > >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. > > > > >Tokushige Kobayashi >Antenna House, Inc. >E-mail koba@xxxxxxxxxxxxx >WWW http://www.antenna.co.jp/XML/ (Japanese) >WWW http://www.antennahouse.com/ (English) >TEL +81-3-3234-1361 (direct call) >FAX +81-3-3221-9975 > >Let's migrate from a whiteboard to: >http://www.antenna.co.jp/ikisaki/ > _________________________________________________________________ Mergers, takeovers, buyouts. Get all the latest biz bytes. http://www.msn.co.in/business/ Tune in to MSN Business! Tokushige Kobayashi Antenna House, Inc. E-mail koba@xxxxxxxxxxxxx WWW http://www.antenna.co.jp/XML/ (Japanese) WWW http://www.antennahouse.com/ (English) TEL +81-3-3234-1361 (direct call) FAX +81-3-3221-9975 Let's migrate from a whiteboard to: http://www.antenna.co.jp/ikisaki/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] XSL, XSL:FO, Arun Sinha | Thread | RE: [xsl] XSL, XSL:FO, Arun Sinha |
[xsl] XSLT logic problem, Siddharth Jain | Date | RE: [xsl] XSL, XSL:FO, Ganesh Babu Nallamot |
Month |