By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,219 Members | 2,361 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,219 IT Pros & Developers. It's quick & easy.

comments in app.config file....

P: n/a
what is the syntax for comments in the XML file?

I have app.config and would like to write comments for each key value.

<?xml version="1.0" encoding="utf-8" ?>

<configuration>

<appSettings>

<add key="RUN_MODE" value="Y"/>

</appSettings>

</configuration>

Thanks,

Jessy


Nov 21 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Hi Jessy ! :O)

it's the same syntax as HTML comments :
---
<!-- put your comments here -->
<!--
it can
be multiline
too
-->
---

--
Best Regards
Yanick

"Jessy Martin" <Je***********@hotmail.com> a écrit dans le message de
news:%2****************@TK2MSFTNGP10.phx.gbl...
what is the syntax for comments in the XML file?

I have app.config and would like to write comments for each key value.

<?xml version="1.0" encoding="utf-8" ?>

<configuration>

<appSettings>

<add key="RUN_MODE" value="Y"/>

</appSettings>

</configuration>

Thanks,

Jessy

Nov 21 '05 #2

P: n/a
<!-- your comment here -->

--
Jonathan Allen
"Jessy Martin" <Je***********@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
what is the syntax for comments in the XML file?

I have app.config and would like to write comments for each key value.

<?xml version="1.0" encoding="utf-8" ?>

<configuration>

<appSettings>

<add key="RUN_MODE" value="Y"/>

</appSettings>

</configuration>

Thanks,

Jessy


Nov 21 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.