This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: How can i transform output stream again.
- To: xsl-list at lists dot mulberrytech dot com
- Subject: RE: [xsl] How can i transform output stream again.
- From: Meltem Kogelbauer <meltem dot kogelbauer at netdecisions dot co dot uk>
- Date: Thu, 3 May 2001 17:19:11 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
Is this what you are trying to do?
<template name="header">
<xsl:apply-templates select="img" />
<br/>
</template>
<template match="img">
<img src="@src">
<xsl:attribute name="alt">alternativ text</xsl:attribute>
</img>
</template>
Meltem
-----Original Message-----
From: Janning Vygen [mailto:vygen@planwerk6.de]
Sent: 03 May 2001 9:19 AM
To: XSL-List@lists.mulberrytech.com
Subject: [xsl] How can i transform output stream again.
hi,
is it possible to transform my output stream again? Of course it is, but
how?
xml snip:
<template name="header">
<img src="test.gif/>
<br/>
</template>
<template match="img">
<img src="@src">
<xsl:attribute name="alt">alternativ text</xsl:attribute>
</img>
</template>
if your are calling this template for a header image. i would like to send
the output stream created by template header to parse through the template
match="img" to insert an alt text.
i gues its possible if i create a variable and apply the img template to
this
variable, but is there another way. Whats the best way do achieve this?
thanks in advance
janning
--
Planwerk 6 /websolutions
Herzogstraße 86
40215 Düsseldorf
fon 0211-6015919
fax 0211-6015917
http://www.planwerk6.de
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list