Quantcast
Channel: Active questions tagged config - Stack Overflow
Viewing all articles
Browse latest Browse all 5049

Is it possible to insert HTML content in XML config file?

$
0
0

I have my software for Windows, the Login to the account linked to URL server.
The code of the config (stored LOCALLY at C:\Program Files) is:

<?xml version="1.0" encoding="utf-8"?><configuration><startup> <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2"/></startup><appSettings><add key="MAIN_URL" value="http://*.*.*.*:8080/"/><add key="REMOTEDEBUGGINGPORT" value="7999"/><add key="MESSAGE_LANG"/><add key="SET_API" value="http://*.*.*.*"/><add key="SET_API_PORT" value="7001"/></appSettings></configuration>

At the URL the code of the HTML is:

<div class="login-wrapper"><div><form class="form" role="form" id="login-form"><h3 class="text-center">Hello</h3><div class="form-group"><input type="text" class="form-control" id="UserId" name="UserId" dir="ltr" placeholder="Username" value="" /></div><div class="form-group"><input type="password" class="form-control" id="Password" name="Password" dir="ltr" placeholder="Pass" value="" /></div><div class="form-group"><input type="text" class="form-control" id="Extention" name="Extention" dir="ltr" placeholder="Ext" value="" /></div><div class="form-actions"><button type="button" class="btn btn-block btn-primary" id="btn-login">Login</button></div></form></div>

I want to change the title instead 'Hello' to 'User Area'.
But i want to change it ONLY at the software and NOT at the URL directly.

<h3 class="text-center">Hello</h3>

How i can to write the HTML code At the config XML file who stored LOCAL in the computer?
Hope for help soon.
Thanks.


Viewing all articles
Browse latest Browse all 5049

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>