Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problems writing XML
Message
From
10/11/2004 06:30:04
Bill Benton
North Florida Software Services
Middleburg, Florida, United States
 
 
General information
Forum:
ASP.NET
Category:
XML
Miscellaneous
Thread ID:
00958201
Message ID:
00959913
Views:
8
Hi Viv,

I resolved the access issue - I was concentrating on IIS, and when I resolved the rights on the physical directory, everything went well.

Thanks ever so much! You have been a real life saver, and it is greatly appreciated!

I guess I will have to take an XML class in the near future.

BTW - If I wanted to forward/create the same files in a different directory/server, how would I go about it?




>Hi,
>
>... but I am having difficulty saving the XML to a specific file. I would like to save each file to it's corresponding "application number.XML".
>
>Don't know where you get your 'application number from' but, as an example, does this help:
>
>Dim AppNum as integer = 12345   'sample number
>
>Dim w As New Xml.XmlTextWriter(AppNum.ToString.Trim + ".XML", Nothing)
>w.WriteStartDocument()
>w.WriteStartElement("salary")
>w.WriteAttributeString("type", "annual")
>w.WriteString("4500")
>w.WriteEndElement()
>w.WriteEndDocument()
>w.Flush()
>w.Close()
>
>
>Regards,
>Viv
Bill Benton
Senior Systems Analyst
Nuvell Financial Services
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform