> From: Lee, Insoo [mailto:[EMAIL PROTECTED]
> here is my xml input > > <?xml version="1.0"?> > ... > <disclaimer> > <fo:block font-weight="bold"> > This is dynamically generated > </fo:block> > > <fo:block> > This is dynamically generated > </fo:block> > </disclaimer> > ... > </xml> > > Are the <fo:block>-tags really part of the dynamically generated data? ( After reading your first msg I was under the impression they were, but I'm not so sure if I look closely at this snippet. ) If they aren't, perhaps it would be worthwile to add 2 templates to the xsl, like so: <xsl:template match="disclaimer-bold"> <fo:block font-weight="bold"> <xsl:value-of select="."/> </fo:block> </xsl:template> <xsl:template match="disclaimer"> <fo:block> <xsl:value-of select="."/> </fo:block> </xsl:template> And of course, add the corresponding <xsl:apply-templates select="..."/> at the appropriate place. Then, change the original xml to: <?xml version="1.0" encoding="..."?> <xmlroot> <disclaimer-bold>Dynamically generated data</disclaimer-bold> <disclaimer>Dynamically generated data</disclaimer> ... </xmlroot> ( Well, perhaps the tag-names could be improved a bit... ;) And even more general <xsl:template>s could be defined with a param in an external xsl which you could include, so you can use these <fo:block>-tags anywhere in your xsl where you need to put some text-block in bold or normal font-weight, just by using <xsl:call-template with-param="..."/> ) This should do the trick ( if I'm getting the right impression of what you're trying to achieve, that is... ) Hope this helps, Andreas Delmelle --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]