Quantcast
Channel: XML, System.Xml, MSXML and XmlLite forum
Viewing all articles
Browse latest Browse all 935

Need XSLT example

$
0
0

I have one xml need to create xslt with custom tags need to get some example or any help on xslt would be helpful.

this is the input xml what I am getting need to divide into two sections using xslt

<XMLJRN><P><Ename="Statement_Document">Statement_Document</E><Ename="StatementIdentifier">MHS</E><Ename="CurrencyCode">USD</E><Ename="ClaimCount">2</E><Ename="Claim">Claim</E><Ename="ClaimNumber">050001741183100</E><Ename="AmountPaid">0.00</E><Ename="CurrencyCode">USD</E><Ename="Claim">Claim</E><Ename="ClaimNumber">050001741179800</E><Ename="AmountPaid">150.00</E><Ename="CurrencyCode">USD</E></P></XMLJRN> I need to get the output xml as below <Doc1Statement_STG><StatementDocument>Statement_Document</StatementDocument><StatementIdentifier>MHS</StatementIdentifier><ClaimCount>2</ClaimCount><Doc1Claim_STG><ClaimNumber>050001741183100</ClaimNumber><AmountPaid>0.00</AmountPaid><ClaimCurrencyCode>USD</ClaimCurrencyCode></Doc1Claim_STG><Doc1Claim_STG><ClaimNumber>050001741179800</ClaimNumber><AmountPaid>150.00</AmountPaid><ClaimCurrencyCode>USD</ClaimCurrencyCode></Doc1Claim_STG></Doc1Statement_STG> Thanks



Viewing all articles
Browse latest Browse all 935

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>