Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Read XML in ASP
Message
Information générale
Forum:
ASP.NET
Catégorie:
XML
Titre:
Divers
Thread ID:
01024254
Message ID:
01024321
Vues:
22
If this is .net, you need to look at the web.config file.


>Hi,
> This is my first post, so I am sorry if I have left needed information out. Basically, I am needing to use an XML file as a control file. I need to read the XML when my ASP app starts and use the values in the XML for things like connection strings and station numbers. I figured out how I can loop through each node and read the nodeName and nodeValue, however, this method seems very cumbersome. Also, it creates problems for me if I add a node a value to my XML, or even worse a child node, that the loop won't know to check. I have only been working with XML/ASP (in fact browser technologies in general) for a few months, so if you feel I am missing something obvious, I probably am.
>
>Just to restate my question, is there anyway to read an XML file and easily handle valid changes to the XML without re-writing code to handle new nodes?
>
>Any help would be appreciated.
Wayne Myers, MCSD
Senior Consultant
Forte' Incorporated
"The only things you can take to heaven are those which you give away" Author Unknown
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform