PDA

View Full Version : Storing visited Links in XML, XSLT



siddharth
Jun 25th, 2007, 04:35 PM
Hi,

I have a XSLT which I am using to display a XML in IE. The links in this should change color when clicked. Currently, I am using the following:

.e1:visited{ text-decoration: line-through;} in the style tab and

<td align="center"><a class="e1" href="{whatever/@abc}"><xsl:value-of select="@xyz"/></a></td>

This works till the session is active. Once I close the browser and start the xml again the visited links are cleared out. They don't get cached as it's XML and not HTML.

Is there a javascript I can use to store this visited links info?

Any help is appreciated.

Sid.

tripy
Jun 26th, 2007, 12:51 PM
As far as I know, there is no way of solving this.
But this behaviour may be trigerred because you view the page using the file:// protocol, and not the http://

Try to publish your files on a web site, maybe it will solve your problem.