[阅读: 390] 2004-10-31 16:13:06
<?xml version="1.0" encoding="GB2312"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/msglist">
<textarea rows="20" cols="120">
<protocols>
<xsl:apply-templates select="msg"/>
</protocols>
</textarea>
</xsl:template>
<xsl:template match="msg">
<protocol>
<MID><xsl:value-of select="@MID"/></MID>
<GID><xsl:value-of select="@GId"/></GID>
<SID><xsl:value-of select="Sid"/></SID>
<Content><xsl:value-of select="Content"/></Content>
</protocol>
</xsl:template>
</xsl:stylesheet>