1

Topic: Hidden text in each cell.

I welcome, .
The request to prompt that I not so I do.
It would be necessary that the hidden text opened in each cell according to this cell.
At present opens only dataful for 1 cell in 1 cell at link pushing in any of cells, it is possible to look at result here
In nesting xsl and xml a file

2

Re: Hidden text in each cell.

Lastig,

3

Re: Hidden text in each cell.

Well and what for it was necessary to put files, for a haemoplenty? In them not  about war and peace in the size.

<? xml version = "1.0" encoding = "utf-8"?>
<root xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance">
<soglashenie>
<DataPod> 21.01.2015 </DataPod>
<DataVkl> 21.01.2015 </DataVkl>
<NameOGV> THE MINISTRY OF INTERNAL AFFAIRS </NameOGV>
<Predmet VALUE = "http://mfc-25.ru/documents/10180/481556"> THE LINK TO THE AGREEMENT </Predmet>
<DataVstup> 22.01.2015 </DataVstup>
<Srok> 1 year </Srok>
<ListUslug> Usluga1 Usluga2 </ListUslug>
<ListMFC>  </ListMFC>
<InfoIzm> is not present </InfoIzm>
<InfoPrekr> is not present </InfoPrekr>
</soglashenie> - <soglashenie>
<DataPod> 21.01.2015 </DataPod>
<DataVkl> 21.01.2015 </DataVkl>
<NameOGV> THE MINISTRY OF INTERNAL AFFAIRS </NameOGV>
<Predmet VALUE = "http://www.ya.ru"> THE LINK TO THE AGREEMENT </Predmet>
<DataVstup> 22.01.2015 </DataVstup>
<Srok> 1 year </Srok>
<ListUslug> Usluga3 Usluga4 </ListUslug>
<ListMFC>  </ListMFC>
<InfoIzm> is not present </InfoIzm>
<InfoPrekr> is not present </InfoPrekr>
</soglashenie> - <soglashenie>
<DataPod> 21.01.2015 </DataPod>
<DataVkl> 21.01.2015 </DataVkl>
<NameOGV> THE MINISTRY OF INTERNAL AFFAIRS </NameOGV>
<Predmet VALUE = "http://mfc-25.ru/documents/10180/481556"> THE LINK TO THE AGREEMENT </Predmet>
<DataVstup> 22.01.2015 </DataVstup>
<Srok> 1 year </Srok>
<ListUslug> Usluga5 Usluga6 </ListUslug>
<ListMFC>  </ListMFC>
<InfoIzm> is not present </InfoIzm>
<InfoPrekr> is not present </InfoPrekr>
</soglashenie>
</root>

And it generally game any

<? xml version = "1.0" encoding = "UTF-8"?>
<html xsl:version = "1.0" xmlns:xsl = "http://www.w3.org/1999/XSL/Transform" xmlns = "http://www.w3.org/1999/xhtml">
<head>
<script type = "text/javascript">
function show_hide (obj_id) {
doc=document.getElementById (obj_id);
if (doc.style.display == "none") doc.style.display = "block";
else doc.style.display = "none"
}
var message = 123;
</script>
<table border = "2">
<tr bgcolor = "#CCCCCC">
<td align = "center"> <strong> Date of signing of the agreement </strong> </td>
<td align = "center"> <strong> switching-on Date in the register </strong> </td>
<td align = "center"> <strong> the Name  </strong> </td>
<td align = "center"> <strong> an agreement Subject </strong> </td>
<td align = "center"> <strong> the Effective date </strong> </td>
<td align = "center"> <strong> agreement Period of validity </strong> </td>
<td align = "center"> <strong> the List of the services given in  </strong> </td>
<td align = "center"> <strong> List . Rendering services </strong> </td>
<td align = "center"> <strong> Convergence on modification of the agreement </strong> </td>
<td align = "center"> <strong> Convergence on agreement cancellation </strong> </td>
</tr>
<xsl:for-each select = "root/soglashenie">
<tr>
<td>
<xsl:value-of select = "DataPod"/>
</td>
<td>
<xsl:value-of select = "DataVkl"/>
</td>
<td>
<xsl:value-of select = "NameOGV"/>
</td>
<td>
<xsl:for-each select = "Predmet">
<a href = "{VALUE}" target = "_ blanc">
<xsl:value-of select = "."/>
</a>
</xsl:for-each>
</td>
<td>
<xsl:value-of select = "DataVstup"/>
</td>
<td>
<xsl:value-of select = "Srok"/>
</td>
<td>
<xsl:for-each select = "ListUslug">
<a href = "#" onclick = "alert (' Greetings '); return false;"> the List of services Box
</a>
</xsl:for-each>
<xsl:variable name = "i" select = "ListUslug"/>
<an onclick = "show_hide (' detail1 '); return false;" href = "javascript:void (0)"> the List of services Hide </a>
<div id = "detail1" style = "display: none;"> <xsl:value-of select = "$ i"/> </div>
<xsl:value-of select = "ListUslug"/>
</td>
<td>
<xsl:value-of select = "ListMFC"/>
</td>
<td>
<xsl:value-of select = "InfoIzm"/>
</td>
<td>
<xsl:value-of select = "InfoPrekr"/>
</td>
</tr>
</xsl:for-each>
</table>
</head>
</html>

the html-code a curve-plait is not the xsl-document, and even. body is not present, the table  in head.
Here so the normal xsl-template with the html-document should begin:

<? xml version = "1.0" encoding = "utf-8"?>
<xsl:stylesheet version = "1.0" xmlns:xsl = "http://www.w3.org/1999/XSL/Transform">
<xsl:output method = "html" indent = "yes"/>
<xsl:template match = "/">
<html>
<head>
<meta charset = "utf-8"/>
<title> a template </title>
<script>
</script>
</head>
<body>
<table>
<xsl:for-each select = "root/soglashenie">
</xsl:for-each>
</table>
</body>
</html>
</xsl:template>
</xsl:stylesheet>

4

Re: Hidden text in each cell.

I apologize for "game" resulted in a normal type

<? xml version = "1.0" encoding = "utf-8"?>
<xsl:stylesheet version = "1.0" xmlns:xsl = "http://www.w3.org/1999/XSL/Transform">
<xsl:output method = "html" indent = "yes"/>
<xsl:template match = "/">
<html>
<head>
<meta charset = "utf-8"/>
<title> a template </title>
<script type = "text/javascript">
function show_hide (obj_id) {
doc=document.getElementById (obj_id);
if (doc.style.display == "none") doc.style.display = "block";
else doc.style.display = "none"
}
</script>
</head>
<body>
<table border = "2">
<tr bgcolor = "#CCCCCC">
<td align = "center"> <strong> Date of signing of the agreement </strong> </td>
<td align = "center"> <strong> switching-on Date in the register </strong> </td>
<td align = "center"> <strong> the Name  </strong> </td>
<td align = "center"> <strong> an agreement Subject </strong> </td>
<td align = "center"> <strong> the Effective date </strong> </td>
<td align = "center"> <strong> agreement Period of validity </strong> </td>
<td align = "center"> <strong> the List of the services given in  </strong> </td>
<td align = "center"> <strong> List . Rendering services </strong> </td>
<td align = "center"> <strong> Convergence on modification of the agreement </strong> </td>
<td align = "center"> <strong> Convergence on agreement cancellation </strong> </td>
</tr>
<xsl:for-each select = "root/soglashenie">
<tr>
<td>
<xsl:value-of select = "DataPod"/>
</td>
<td>
<xsl:value-of select = "DataVkl"/>
</td>
<td>
<xsl:value-of select = "NameOGV"/>
</td>
<td>
<xsl:for-each select = "Predmet">
<a href = "{VALUE}" target = "_ blanc">
<xsl:value-of select = "."/>
</a>
</xsl:for-each>
</td>
<td>
<xsl:value-of select = "DataVstup"/>
</td>
<td>
<xsl:value-of select = "Srok"/>
</td>
<td>
<xsl:for-each select = "ListUslug">
<an onclick = "show_hide (' detail1 '); return false;" href = "javascript:void (0)"> the List of services </a>
<div id = "detail1" style = "display: none;"> <xsl:value-of select = "."/> </div>
</xsl:for-each>
</td>
<td>
<xsl:value-of select = "ListMFC"/>
</td>
<td>
<xsl:value-of select = "InfoIzm"/>
</td>
<td>
<xsl:value-of select = "InfoPrekr"/>
</td>
</tr>
</xsl:for-each>
</table>
</body>
</html>
</xsl:template>
</xsl:stylesheet>

5

Re: Hidden text in each cell.

Whether there are at whom visions under the decision of such task?

6

Re: Hidden text in each cell.

<script type = "text/javascript">
function show_hide (obj) {
obj.style.display = obj.style.display == "none"? "block": "none";
}
var message = 123;
</script>
<an onclick = "show_hide (this.nextElementSibling); return false;" href = "javascript:void (0)">

7

Re: Hidden text in each cell.

Antonariy;
Thanks for the help