Subject: RE: Variables and HTML
From: Pieter Reint Siegers Kort <pieter.siegers@xxxxxxxxxxx>
Date: Thu, 10 Mar 2005 16:30:40 -0600
|
Hi Carmelo,
Why don't you just manipulate the href attribute as an input parameter?
The rest is fixed stuff if I understand well.
Albert Einstein once said: "Everything should be made as simple as possible,
but not simpler." :-)
Cheers,
<prs/>
-----Original Message-----
From: Carmelo Montanez [mailto:carmelo@xxxxxxxx]
Sent: Jueves, 10 de Marzo de 2005 12:46 p.m.
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Variables and HTML
Folks:
I am sure this been debated before to the ground. I have a variable that
have entities as part of its contents as in the following
variable1 = "< A href = ....."
I am trying to output this as html
<dd><xsl:value-of select = "$variable1"/></dd>
The problem is that when I get the HTML, I still have the entities inside
the variables causing the HTML browser to display the wrong thing
My final HML looks something like this:
<DD>A <a href="Ballot"><i>Ballot</i></a> prepared or
<a href="cast"><{i>cast</i></a> by a voter other
than at a regular polling place.</DD>
I will like to have all those entities resolved. I need to use the entities
inside the variable because I am doing a lot of manipulations with it.
Thanks,
Carmelo
|