Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Machine Dependant Info In XML File

Status
Not open for further replies.

Stonkers

Programmer
Oct 14, 2003
16
US
Sorry in advance for the X-Treme Newbie question. I've got some xml files (actually they're config files for ASP.NET apps in xml format). Certain aspects of the xml is dependant on what server it's being deployed to. For example, I may have:

<add key=&quot;Local Directory&quot; value=&quot;C:\AppsDir\&quot; />

but when this goes to the next level, it must be:

<add key=&quot;Local Directory&quot; value=&quot;C:\Program Files\AppsDir&quot; />

I need to do this with paths, databases, and such. Any help would be greatly appreciated.

Thanks,
Eric
 
OK, I've come up with what I think I'm after, External Entities, but was told it doesn't work with .config files in ASP.NET apps. Is this correct? Thanks - Eric
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top