Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries [Thread Prev] >Thread Next - Re: xml javascript lunghezza campo tabella xml javascript lunghezza campo tabellaTo: NULL Date: 12/1/2004 8:09:00 AM Salve!
Ho la necessità di creare un documento xsl con una tabella che deve
avere i campi della stessa lunghezza del valore ottenuto da una
funzione javascript:
<?xml version="1.0"?>
<xsl:stylesheet version="1.0"
xmlns:xsl='http://www.w3.org/1999/XSL/Transform'>
<xsl:template match="/">
<style>.fr {background-color:orange;}</style>
<style>.cella {font-family:Arial,sans-serif;
font-size:10pt;font-weight:100;text-align:left;text-transform:capitalize;color:white;}</style>
<style>.xy {background-color:#99FF66;}</style>
<style>.pr {background-color:yellow;}</style>
<style>.m {background-color:red;}</style>
<style>.mr {background-color:#FFFFCC;}</style>
<xsl:for-each select="rows/row">
<table border="0">
<TR>
<TD class="fr">
<xsl:attribute name="width">
<xsl:value-of select="gradi"/>
</xsl:attribute>
</TD>
Come faccio ad inserire la funzione JS per impostare il width del td??
Grazie
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
