Subject: Re: [xsl] XSL-FO & Selecting Attributes From: "craig webber" <craigwebber@xxxxxxxxxxx> Date: Wed, 20 Apr 2005 11:23:25 +0000 |
<header> <heading>Paragraph Header</heading> <para1>Para 1 text</para1> <para2>Para 2 text</para2> </header>
<Item Sector="Agriculture" response="no"> <name>Poor Farmers Relief Fund</name> <description>A Consultation on ...</description> <publishDate>05.01.04</publishDate> <closingDate>20.02.04</closingDate> <urnNumber>04/1245</urnNumber> <image>image.jpg</image> </Item>
<fo:page-sequence master-reference="page1"> <fo:flow flow-name="xsl-region-body"> <xsl:apply-templates select="publications/Item"/> </fo:flow> </fo:page-sequence>
<xsl:template match="Item"> <fo:block> <xsl:value-of select="@Sector"/> </fo:block> </xsl:template>
<xsl:template match="Item/name"> <fo:block> <xsl:value-of select="."/> </fo:block> </xsl:template>
<xsl:template match="Item/description"> <fo:block> <xsl:value-of select="."/> </fo:block> </xsl:template>
<xsl:template match="Item/publishDate"> <fo:block> <xsl:value-of select="."/> </fo:block> </xsl:template>
<xsl:template match="Item/closingDate"> <fo:block> <xsl:value-of select="."/> </fo:block> </xsl:template>
<xsl:template match="Item/urnNumber"> <fo:block> <xsl:value-of select="."/> </fo:block> </xsl:template>
<xsl:template match="Item/image"> <fo:block> <fo:external-graphic src="url({.})"/> </fo:block> </xsl:template>
Agriculture Poor Farmers Relief Fund A Consultation on .. 05.01.04 20.02.04 04/1245 image
Poor Farmers Relief Fund A Consultation on .. 05.01.04 20.02.04 04/1245 image
Agriculture Poor Farmers Relief Fund A Consultation on .. 05.01.04 20.02.04 04/1245 image
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] XSL-FO & Selecting Attrib, David Carlisle | Thread | Re: [xsl] XSL-FO & Selecting Attrib, David Carlisle |
Re: [xsl] Trying to build a schema , David Carlisle | Date | Re: [xsl] Trying to build a schema , omprakash . v |
Month |