soapresponse.xsl

来自「javaP2P技术内幕课程111213141516源代码」· XSL 代码 · 共 28 行

XSL
28
字号
<?xml version="1.0"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns:xsd="http://www.w3.org/1999/XMLSchema">
	<xsl:output method="html"/>
	<xsl:template match="SOAP-ENV:Envelope/SOAP-ENV:Body/node()[position()=2]">
		<html>
			<body bgcolor="whitesmoke">
				<p align="center">
					<b>Method Name:<xsl:value-of select="local-name(.)"/></b>
					<table>
						<xsl:apply-templates select="return"/>
					</table>
				</p>
			</body>
		</html>
	</xsl:template>
	<xsl:template match="return">
		<tr>
			<td align="right ">Freight:</td>
			<td>
				<xsl:value-of select="text()"/>
			</td>
		</tr>
	</xsl:template>
</xsl:stylesheet><!-- Stylus Studio meta-information - (c)1998-2002 eXcelon Corp.
<metaInformation>
<scenarios/><MapperInfo srcSchemaPath="" srcSchemaRoot="" srcSchemaPathIsRelative="yes" srcSchemaInterpretAsXML="no" destSchemaPath="" destSchemaRoot="" destSchemaPathIsRelative="yes" destSchemaInterpretAsXML="no"/>
</metaInformation>
-->

⌨️ 快捷键说明

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