Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
XmlDocument.Load() Relative Path
Message
 
À
26/01/2004 10:45:12
Information générale
Forum:
ASP.NET
Catégorie:
XML
Divers
Thread ID:
00870577
Message ID:
00872774
Vues:
17
Perhaps Application.StartupPath and/or system.Reflection.Assembly.GetExecutingAssembly.GetName() might help you here.


>When using the XmlDocument.Load() method from a DLL, is it possible to use one of the overloads with a relative path (to the location of the DLL) to retrieve an XSLT document?
>
>I need to load an XSLT document and I do not want to hard code the path or, if possible, not have to load the path into a config file. I would like to place the XSLT file in the DLL bin dir or possibly one level up and load it from there. Is it possible to retrieve this path in the running DLL w/o specifying it in a config file?
>
>Thanks,
>Bill
Hector Correa
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform