Created
July 16, 2015 09:42
-
-
Save nu1silva/d12628af4e5eeba343ee to your computer and use it in GitHub Desktop.
XSLT Transform
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> | |
<xsl:output method="xml" omit-xml-declaration="yes" indent="yes"/> | |
<xsl:template match="/"> | |
<BANK_TR> | |
<TIMESTAMP> | |
<xsl:value-of select="/TRANSACTION/TRANS_TIMESTAMP"/> | |
</TIMESTAMP> | |
<TRANSACTION_ID> | |
<xsl:value-of select="/TRANSACTION/TRANS_ID"/> | |
</TRANSACTION_ID> | |
<TRANSACTION_TYPE> | |
<xsl:value-of select="/TRANSACTION/TRANS_TYPE"/> | |
</TRANSACTION_TYPE> | |
<BANKCODE> | |
<xsl:value-of select="/TRANSACTION/BANK_CODE"/> | |
</BANKCODE> | |
<PROCESSED>TRUE</PROCESSED> | |
</BANK_TR> | |
</xsl:template> | |
</xsl:stylesheet> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment