nu er jeg med - kan du ikke bare lave to tags omkring linket
<?xml version=\"1.0\" encoding=\"UTF-8\"?>
<?xml-stylesheet href=\"test.xsl\" type=\"text/xsl\"?>
<root>
<text>
<pre>bla bla bla</pre><link url=\"
www.eksperten.dk\">Eksperten</link><post>bla bla bla</post>
</text>
<text>
<pre>bla bla bla</pre><link url=\"
www.brodersalsa.dk\">Brodersalsa</link><post>bla bla bla</post>
</text>
</root>
<?xml version=\"1.0\"?>
<xsl:stylesheet xmlns:xsl=\"
http://www.w3.org/TR/WD-xsl\"> <xsl:template match=\"/\">
<html>
<head>
<title>Test</title>
</head>
<body>
<table align=\"center\" border=\"2\">
<xsl:for-each select=\"root/text\">
<tr>
<td><xsl:apply-templates select=\"pre\"/>
<xsl:apply-templates select=\"link\"/>
<xsl:apply-templates select=\"post\"/>
</td>
</tr>
</xsl:for-each>
</table>
</body>
</html>
</xsl:template>
<xsl:template match=\"pre\">
<xsl:value-of/>
</xsl:template>
<xsl:template match=\"link\">
<a><xsl:attribute name=\"href\">
http://<xsl:value-of select=\"@url\"/></xsl:attribute><xsl:value-of/></a>
</xsl:template>
<xsl:template match=\"post\">
<xsl:value-of/>
</xsl:template>
</xsl:stylesheet>