Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27349

VS 2008 Create a Namespace in an .xml file with Xelement

$
0
0
Hi to all:

I need to create this namespace in an .xml file:

Code:

<AuditFile xmlns="urn:OECD:StandardAuditFile-Tax:PT_1.01_01" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
Hi had try this but off course i need to do something more:


Code:

Dim Test As XElement = _
              <AuditFile xmlns="urn:OECD:StandardAuditFile-Tax:PT_1.01_01" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
              </AuditFile>

  Test.Save(TestFile & ".xml")

Any help here please?

Thanks

Viewing all articles
Browse latest Browse all 27349

Trending Articles



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