Click here to Skip to main content
15,906,467 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,

XML
<FeesAndTaxesByState id="FB8CBC836F70448CEAF4A2995C98E5EF2">
             <State>ARIZONA</State>
             <DecimalPlaces>-1</DecimalPlaces>
             <ShowRightState>0</ShowRightState>
             <feeandtax id="fA2E74E7E368F485B94918E76982F8237">
               <Type>Tax</Type>
               <Description>Surplus Lines Tax</Description>
               <PercentOrFlat>Percent</PercentOrFlat>
               <Value>3.0000</Value>
             </feeandtax>
             <feeandtax id="fAD8505CD71F74A1395F66485605A2328">
               <Type>Tax</Type>
               <Description>Stamping Fee</Description>
               <PercentOrFlat>Percent</PercentOrFlat>
               <Value>0.2000</Value>
             </feeandtax>
             <feeandtax id="fED1A3C95679848C79CD42BF7C8AFE02E">
               <Type>Fee</Type>
               <Description>Policy Fee</Description>
               <PercentOrFlat>Flat</PercentOrFlat>
               <Value>75.0000</Value>
             </feeandtax>
             <feeandtax id="fB8002FA404A241F2894422F33F1001AA">
               <Type>Fee</Type>
               <Description>Inspection Fee</Description>
               <PercentOrFlat>Flat</PercentOrFlat>
               <Value>0.0000</Value>
             </feeandtax>
             <feeandtax id="f0EE8C84027954101891C1B55573B008F">
               <Type>Fee</Type>
               <Description>Admin Fee</Description>
               <PercentOrFlat>Flat</PercentOrFlat>
               <Value>0.0000</Value>
             </feeandtax>
             <taxablefee id="t45CEA0E6F8874DCDBA783FFDA698331C">
               <Tax>Surplus Lines Tax</Tax>
               <Fee>Policy Fee</Fee>
               <FeeAmount>75</FeeAmount>
             </taxablefee>
             <taxablefee id="t360051E40BF54B66B1A4D7D3E2815A54">
               <Tax>Surplus Lines Tax</Tax>
               <Fee>Inspection Fee</Fee>
               <FeeAmount>0</FeeAmount>
             </taxablefee>
             <taxablefee id="t36BFE7E85DDC420E8E2BD429C4B8373E">
               <Tax>Surplus Lines Tax</Tax>
               <Fee>Admin Fee</Fee>
               <FeeAmount>0</FeeAmount>
             </taxablefee>
             <taxablefee id="t2B56984B034F479F9C94DFC1FADDAF69">
               <Tax>Stamping Fee</Tax>
               <Fee>Policy Fee</Fee>
               <FeeAmount>75</FeeAmount>
             </taxablefee>
             <taxablefee id="t05F8348C84644EFCB42EB60499B522AB">
               <Tax>Stamping Fee</Tax>
               <Fee>Inspection Fee</Fee>
               <FeeAmount>0</FeeAmount>
             </taxablefee>
             <taxablefee id="t7A7DEB370DFA4FAD9D83C23C88A12E54">
               <Tax>Stamping Fee</Tax>
               <Fee>Admin Fee</Fee>
               <FeeAmount>0</FeeAmount>
             </taxablefee>
             <iterateProductStateAssginement>ARIZONA</iterateProductStateAssginement>
             <minimumpremium id="m0C8ECAE606CB484DAD6E37DFE36B1439">
               <Description>Minimum Earned Premium Percent</Description>
               <MinEarnedPremiumPercent3Months>100.0000</MinEarnedPremiumPercent3Months>
               <MinEarnedPremiumPercent6Months>50.0000</MinEarnedPremiumPercent6Months>
               <MinEarnedPremiumPercent9Months>25.0000</MinEarnedPremiumPercent9Months>
               <MinEarnedPremiumPercent12Months>25.0000</MinEarnedPremiumPercent12Months>
               <AddText>1</AddText>
             </minimumpremium>
             <CurrentIteration>3</CurrentIteration>
           </FeesAndTaxesByState>


I have create the above xml....
How can i create the above xml in c#
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900