码迷,mamicode.com
首页 > 移动开发 > 详细

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

时间:2014-05-25 09:56:24      阅读:230      评论:0      收藏:0      [点我收藏+]

标签:style   class   blog   c   code   http   

						<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

从XML到XSLT一对一mapping的XSLT模板,布布扣,bubuko.com

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

标签:style   class   blog   c   code   http   

原文地址:http://blog.csdn.net/lan_liang/article/details/26833293

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!