Forums - C# Corner

Forum guidelines


  • 0
  • 4
  • 0

Writing/Reading XML

Apr 24 2008 4:52 AM

Hi, I’m trying to develop a VB.NET application (Original application Developed in PHP) to create XML data that will be used within a PHP application.


I’ve been able to use, but it has not been able to do what I need


textWriter.WriteStartElement("selftestQuestion") 'START Question Element



I need it to produce a Element Tag that look like below, but I can’t seem to use WriteStartElement to do this. 


<selftestQuestion sourceID="1">




Is there any other VB.Net function that can be used to write XML that allows me to insert more data into the Element Start tag



Answers (1)

File APIs for .NET – 25% off Aspose.Total
Aspose are the market leader of .NET APIs for file business formats – natively work with DOCX, XLSX, PPT, PDF, MSG, MPP, images formats and many more! Use coupon code HOL2016PSB