Thanks to Liz and D. for their consulting, but I've an other problem, I remeber the situation, I've an XML file that I want to transform into an HTML file with XSL, in the html result file I want to insert a Javascript generated within the tags of the XML, I've this problem:
In the XSL I've inserted this Javascript instructions:
for (i = 0; i < <xsl:value-of select="nTabs">; i++)
the problem is with the < character, so if I write:
for (i = 0; i < <xsl:value-of select="nTabs">; i++)
XSL give me an error... because the < character identifiers a Tag
if I write
for (i = 0; i & lt; <xsl:value-of select="nTabs"; i++)
(the space in & lt; is because in the HTML page you view <)
HTML give me an error because JavaScript is interpreted before the visualization....
Thanks
ROb
In the XSL I've inserted this Javascript instructions:
for (i = 0; i < <xsl:value-of select="nTabs">; i++)
the problem is with the < character, so if I write:
for (i = 0; i < <xsl:value-of select="nTabs">; i++)
XSL give me an error... because the < character identifiers a Tag
if I write
for (i = 0; i & lt; <xsl:value-of select="nTabs"; i++)
(the space in & lt; is because in the HTML page you view <)
HTML give me an error because JavaScript is interpreted before the visualization....
Thanks
ROb