Hi to all:
Hi need to save .xml file with this encoding:
in this code:
Wich way i can do this?
Thanks
Hi need to save .xml file with this encoding:
Code:
<?xml version="1.0" encoding="Windows-1252" ?>
Code:
Dim Test As XElement = _
<AuditFile xmlns="urn:OECD:StandardAuditFile-Tax:1.01_01">
<Header>
<AuditFileVersion>1.01_01</AuditFileVersion>
<CompanyID><%= numero_contribuinte_empresa %></CompanyID>
<TaxRegistrationNumber><%= numero_contribuinte_empresa %></TaxRegistrationNumber>
<TaxAccountingBasis>C</TaxAccountingBasis>
<CompanyName><%= nome %></CompanyName>
<BusinessName><%= nome %></BusinessName>
</AuditFile>
Test.Save(TestFile & ".xml")
Wich way i can do this?
Thanks