[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: How can i transform output stream again.

Subject: RE: How can i transform output stream again.
From: Meltem Kogelbauer <meltem.kogelbauer@xxxxxxxxxxxxxxxxxx>
Date: Thu, 3 May 2001 17:19:11 +0100
meltem can
Is this what you are trying to do?

<template name="header">   
	<xsl:apply-templates select="img" />

<template match="img">
  <img src="@src">
     <xsl:attribute name="alt">alternativ text</xsl:attribute>


-----Original Message-----
From: Janning Vygen [mailto:vygen@xxxxxxxxxxxx]
Sent: 03 May 2001 9:19 AM
To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx
Subject:  How can i transform output stream again.


is it possible to transform my output stream again? Of course it is, but

xml snip:

<template name="header">   
  <img src="test.gif/>

<template match="img">
  <img src="@src">
     <xsl:attribute name="alt">alternativ text</xsl:attribute>

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
variable, but is there another way. Whats the best way do achieve this?

thanks in advance

Planwerk 6 /websolutions
Herzogstraße 86
40215 Düsseldorf

fon 0211-6015919
fax 0211-6015917

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.