Hanlan, Dominic - Senior Developer wrote:
I have an xml document to be styled to pdf with Fop, two questions arise,
1. if I have a construct such as
<section id="para">this is text <section id="url" url="http://xx.yy.zz">which is to be a link</section></section>
How do I, in xslt, recognise the "url" tag within the "para" tag
<xsl:template match="[EMAIL PROTECTED]'para']/[EMAIL PROTECTED]'url']">
But that's offtopic, try excelent xsl-list at http://www.mulberrytech.com/xsl/xsl-list.
2. how do I then insert a link into the pdf
<xsl:template match="[EMAIL PROTECTED]'para']/[EMAIL PROTECTED]'url']">
<fo:basic-link external-destination="[EMAIL PROTECTED]">
<xsl:value-of select="."/>
</fo:basic-link>
</xsl:template>-- Oleg Tkachenko Multiconn International Ltd, Israel
