sub_menu.xsl

来自「开源的 库存管理系统 www.minierp.cn php+ mysql」· XSL 代码 · 共 15 行

XSL
15
字号
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format">
<xsl:template match="/">
<xsl:apply-templates select="root" />
</xsl:template>
<xsl:template match="root">
	<table cellspacing="0" cellpadding="2" border="0">
		<tr>
            <xsl:apply-templates select="menuitem" />  
        </tr>
	  </table>
</xsl:template>
<xsl:template match="menuitem">    
<td >
<xsl:element name="a"><xsl:attribute name="class">moduleMenu</xsl:attribute><xsl:attribute name="href">javascript:showmain('<xsl:value-of select="menumodules"/>','<xsl:value-of select="action" />')</xsl:attribute></xsl:element><xsl:value-of select="menuname"    />銆

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?