Forum Moderators: open

Message Too Old, No Replies

XSLT style sheet, XML

Need to link

         

varsha

9:25 am on Apr 8, 2005 (gmt 0)


My XML file is using XSLT style sheet to show the XML file in perticular format.
my style sheet is like this
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="//TransportConfiguration">
<html>
<head>
<h1>NodeB Configuration File</h1>
</head>
<body>
<h2>
<xsl:value-of select="profileReference"/>
</h2>
<h4>
<xsl:value-of select="profileDescription"/>
</h4>
<table border="1">
<tr>
<th>annotation</th>
<th>EntityId</th>
<th>profileName</th>
<th>serviceCategory</th>
<th>PCR</th>
<th>CDVT</th>
<th>MBS</th>
<th>SCR</th>
<th>frameDiscard</th>
</tr>
<xsl:apply-templates select="//ManagedElement/CbrTrafficDescriptor"/>
<xsl:apply-templates select="//ManagedElement/VbrTrafficDescriptor"/>
<actbar>
<button id="changed">Change Value</button>

</actbar>
</table>

</body>
</html>
</xsl:template>
<xsl:template match="CbrTrafficDescriptor">
<tr>
<td>
<xsl:value-of select="annotation"/>
</td>
<td>
<xsl:value-of select="@managedEntityId"/>
</td>
<td>
<xsl:value-of select="@profileName"/>
</td>
<td>
<xsl:value-of select="@serviceCategory"/>
</td>
<td>
<xsl:value-of select="@pcr"/>
</td>
<td>
<xsl:value-of select="@cdvt"/>
</td>
<td>
<xsl:value-of select="@mbs"/>
</td>
<td>
<xsl:value-of select="@scr"/>
</td>
<td>
<xsl:value-of select="@frameDiscard"/>
</td>
</tr>
</xsl:template>
<xsl:template match="VbrTrafficDescriptor">
<tr>
<td>
<xsl:value-of select="annotation"/>
</td>
<td>
<xsl:value-of select="@managedEntityId"/>
</td>
<td>
<xsl:value-of select="@profileName"/>
</td>
<td>
<xsl:value-of select="@serviceCategory"/>
</td>
<td>
<xsl:value-of select="@pcr"/>
</td>
<td>
<xsl:value-of select="@cdvt"/>
</td>
<td>
<xsl:value-of select="@mbs"/>
</td>
<td>
<xsl:value-of select="@scr"/>
</td>
<td>
<xsl:value-of select="@frameDiscard"/>
</td>
</tr>
</xsl:template>
<xsl:template match="Click">
<form>New Value</form>
</xsl:template>
</xsl:stylesheet>

If you read carefully i used one button called "Change Value" i want to click on this button and give some action.
My problem is for to click on the button which code i should write.
When you click the button the XML file should be in editing mode and operator can change some value.

Would you please reply me as early as possible.

Thanks in advance