how to use ip address in xsl
- by user1597122
I'm using xsl to generate html from xsl. I have to use ip address in name of the class in css like this:
<td><div title="delete" >
    <xsl:attribute name="class">
         delete_link_<xsl:value-of select="destinationIp"/>
    </xsl:attribute>    
    <img class="row-remover" src="/media/img/remove.png"/>
</div></td>
and i have this jquery function:
 $('.delete_link_<xsl:value-of select="destinationIp"/>').click( function() {
      // do some thing here
 });
but because there are 'dots' in ip address, the above code doesn't work. when i remove dots of destinationIp tag in xml file, it works. so i think it has problem with 'dot'. any idea to make it work? really thanks :)