Also ich habe folgendes xml, also mal eine vereinfachte version
<website>
<chapter>
<image imageid="1" alt="Screenshot" position="left" />
</chapter>
<images>
<image id="1" file="localhost/mhuhn.de/0403/fotos/38.jpg" width="254" height="300" />
</images>
</website>
---------------
und folgendes XSL:
<xsl:template match="chapter">
<p><xsl:apply-templates /></p>
</xsl:template>
<xsl:template match="image">
<img>
<xsl:attribute name="src">http://<xsl:value-of select="/images/image[@id=1]/@file" /></xsl:attribute>
</img>
</xsl:template>
----
Also was ich will ist ja fast offensichtlich. Ich will die Url vom image-Node auslesen, und als attribut einfügen.
Was mache ich falsch?
Gruß Uli