Attribute not working

Here should go questions about transforming XML with XSLT and FOP.
gantichi
Posts: 2
Joined: Wed Jan 26, 2005 1:10 pm

Attribute not working

Post by gantichi » Wed Jan 26, 2005 1:28 pm

Sorry if it's not the right area.
I use the istruction:
<a>
<xsl:attribute name="href"> DettSped.asp?DDTID=<xsl:value-of select="DDTID"/>
</xsl:attribute>
<img src="immagini/dettagli.gif"/>
</a>
to generate the HTML:
<a href=DettSped.asp?DDTID=100><img src="immagini/dettagli.gif"/></a>

On some PC, it works fine, on other, I see in the display:
"DettSped.asp?DDTID=" and the image, so the <a> tag is not well formed.
PCs uses (apparently) the same Win XP and the same Explorer 6.0.
Can someone suggest a solution?
tnx in advance
Gianfranco

george
Site Admin
Posts: 2100
Joined: Thu Jan 09, 2003 2:58 pm

Post by george » Thu Jan 27, 2005 4:54 pm

Dear Gianfranco,

Your post does not provide enough information to allow someone to detect the problem. The best approach is to get it down to a simple example that reproduce it. In general this process will allow you to spot the problem yourself. If not post that example and the steps to reproduce it.

Best Regards,
George

Post Reply