Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problems writing XML
Message
De
10/11/2004 06:30:04
Bill Benton
North Florida Software Services
Middleburg, Floride, États-Unis
 
 
À
10/11/2004 05:24:40
Information générale
Forum:
ASP.NET
Catégorie:
XML
Divers
Thread ID:
00958201
Message ID:
00959913
Vues:
9
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform