Re: How to generate HTML with dynamic attibutes?

Subject: Re: How to generate HTML with dynamic attibutes?
From: "Tangi Vass" <tangivass@xxxxxxxxxxxxxx>
Date: Mon, 4 Oct 1999 13:05:19 +0200
I found the answer alone : <xsl:attribute>. My neurons was asleep. Sorry everyboby.
 
Tangi Vass
----- Original Message -----
From: Tangi Vass
Sent: Monday, 04 October, 1999 11:26
Subject: How to generate HTML with dynamic attibutes?

Hi!
 
Maybe my question is stupid, but I'm trying without success to generate HTML code with dynamic tags :
 
foo.xml :
<?xml version="1.0" encoding="ISO-8859-1"?>
  <foo link="foo.html" bitmap="foo.gif"/>
foo.xsl :
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/XSL/Transform/1.0" xmlns:lxslt="http://xsl.lotus.com/">
<xsl:output method="html" indent="no"/>
 
<xsl:template match="/">
<HTML>
<BODY> Please, help me !</BODY></HTML>
</xsl:template>
 
</xsl:stylesheet>
foo.html :
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><BODY><A HREF=""><IMG SRC=""></A></BODY></HTML>
How to write the well-formed xsl stylesheet to avoid hard-coded HREF and SRC attributes?
 
Thanks by advance,
 
Tangi Vass
 
Current Thread