<?xml version="1.0" ?>
<!DOCTYPE riolayout [
 <!ENTITY nbsp "<![CDATA[ ]]>" >
]>

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'>
<xsl:output method="html" indent="yes"/>

<xsl:template match="*" >
<HTML>	
<BODY bgcolor='#f0f0f0' >

<!-- banner -->
<table width='100%' bgcolor='#a0a0ff'>
<tr ><td><font size='+2'>
&lt;<xsl:value-of select='name()' />&gt;&nbsp; :&nbsp; <xsl:value-of select='@name' />
</font></td>
<td align='right'>
<a href="javascript:window.location=window.location" ><b>Refresh</b></a>
</td>
</tr>
</table>


<!-- banner -->
<table width='100%' bgcolor='#c0c0ff'>
<tr ><td><font size='+1'>
Modify attributes
</font></td></tr>
</table>

<form method='post' action='?do:method=update'>
<TABLE>
	<!-- Attributes -->
	<xsl:for-each select="@*[((name() &lt; 'onGet') or (name() &gt;= 'onGeu')) and (name() &lt; 'onPost' or name() &gt;= 'onPosu') ]">
	<tr>
		<td>
			<b><xsl:value-of select='name()' /></b>
		</td>
		<td>
			<input type='text' size='50' id='text' name='text'>
			<xsl:attribute name='name'>
				prop_<xsl:value-of select='name()' />
			</xsl:attribute>
			<xsl:attribute name='value'>
				<xsl:value-of select='name()'/>
			</xsl:attribute>
			</input>
		</td>
	</tr>
	</xsl:for-each>

	<tr align='right'>
		<td>
		</td>
		<td>
			<input name='submit' id='submit' type='submit' value='  Update  '/>
		</td>
	</tr>
</TABLE>
</form>

<!-- banner -->
<table width='100%' bgcolor='#c0c0ff'>
<tr ><td><font size='+1'>
Add new attribute
</font></td></tr>
</table>
<form method='post' action='?do:method=addprop' id='form1' name='form1'>
<TABLE>
	<tr>
		<td>
			<input type='text' size='10' name='name' />
		</td>
		<td>
			<input type='text' size='40' name='value' />
			&nbsp;
			<input name='submit2' id='submit2' type='submit' value='  Add  '/>
		</td>
	</tr>
</TABLE>
</form>

<!-- banner -->
<table width='100%' bgcolor='#c0c0ff'>
<tr ><td><font size='+1'>
Modify methods
</font></td></tr>
</table>

<form method='post' action='?do:method=update' id='form1' name='dialog'>
<TABLE>

	<!-- Methods -->
	<xsl:for-each select="@*[(name() &gt;= 'onGet' and name() &lt;= 'onGeu') or (name() &gt;= 'onPost' and name() &lt;= 'onPosu') ]">
	<tr>
		<td>
			<b><xsl:value-of select='name()' /></b>
		</td>
		<td>
			<input type='text' size='50' id='text' name='text'>
			<xsl:attribute name='name'>
				prop_<xsl:value-of select='name()' />
			</xsl:attribute>
			<xsl:attribute name='value'>
				<xsl:value-of select='name()'/>
			</xsl:attribute>
			</input>
		</td>
	</tr>
	</xsl:for-each>

	<tr align='right'>
		<td>
		</td>
		<td>
			<input name='submit' id='submit' type='submit' value='  Update  '/>
		</td>
	</tr>
</TABLE>
</form>


<!-- banner -->
<table width='100%' bgcolor='#c0c0ff'>
<tr ><td><font size='+1'>
Add new method
</font></td></tr>
</table>
<form method='post' action='?do:method=addprop' id='form1' name='form1'>
<TABLE>
	<tr>
		<td>
			<input type='text' size='10' name='name' />
		</td>
		<td>
			<input type='text' size='40' name='value' />
			&nbsp;
			<input name='submit2' id='submit2' type='submit' value='  Add  '/>
		</td>
	</tr>
</TABLE>
</form>


</BODY>
</HTML>

</xsl:template>

</xsl:stylesheet>
