[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
[Recent Entries]
[Reply To This Message]
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 -----
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
|
|
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format
RSS 2.0 |
|
Atom 0.3 |
|
|