I'm trying to add javascript code bits in my XSL file like this:
language="JavaScript">
function Mytoggle()
{
if ((titles.style.display == "none") && (titles.style.visibility == "hidden"))
{
titles.style.display="inline";
titles.style.visibility="visible"; companyname1.src = "images/data_minus.gif";
}
else
{
titles.style.display="none";
titles.style.visibility="hidden";
companyname1.src = "images/data_plus.gif";
}
However excelon stylus is complaining that "a name is started with an invalid character" and is pointing to the "&&" in my function. Can someone help me fix this ?
Thanks
Gavin
P/S I am using IE's XSL processor
|