vmandem
asked on
How to break a line in between xml tags in VB.NET
I have xml tags shown as
mywriter = New system.xml.xmltextwriter(" c:\temp")
with mywriter
.WriteComment("This Is the MISO Real Time LMP Prices that goes into Zainet using the importer")
.WriteStartElement("import File")
.WriteAttributeString("tem plate", "default")
.WriteAttributeString("sys date", Now.ToString("yyyy-MM-dd") )
.WriteAttributeString("dat eFmt ", "YYYYMMDD")
I want to get a line break between .writecomment tag and .writestartElement. What should I do for that.
Thanks
VM
mywriter = New system.xml.xmltextwriter("
with mywriter
.WriteComment("This Is the MISO Real Time LMP Prices that goes into Zainet using the importer")
.WriteStartElement("import
.WriteAttributeString("tem
.WriteAttributeString("sys
.WriteAttributeString("dat
I want to get a line break between .writecomment tag and .writestartElement. What should I do for that.
Thanks
VM
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I did not get a blank line instead I got carriage return like : <!----->. Is there any way to get a white space in there.
Thanks
VM
Thanks
VM
.WriteComment(ControlChars