从XML到XSLT一对一mapping的XSLT模板

						<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
						 <xsl:output method="xml" encoding="utf-8" indent="yes" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"/>


					 <xsl:template match="CustomerAccount">
						     <xsl:copy-of select="//CustomerAccount" />
						 </xsl:template>
						
						</xsl:stylesheet>
						


对应的XML结构:


<CustomerAccountInput messageName='CreateCustomer' >
<CustomerAccount>
...
</CustomerAccountInput>
</CustomerAccount>


online工具:

http://xslt.online-toolz.com/tools/xslt-transformation.PHP

相关文章

php输出xml格式字符串
J2ME Mobile 3D入门教程系列文章之一
XML轻松学习手册
XML入门的常见问题(一)
XML入门的常见问题(三)
XML轻松学习手册(2)XML概念