making notes in xml - newbie question :)

Questions about XML that are not covered by the other forums should go here.
hhess
Posts: 2
Joined: Wed Oct 12, 2022 7:00 pm

making notes in xml - newbie question :)

Post by hhess »

I have a long code and would like to make notes in the code for my reference, I do not want these notes to show on screen when the code is compiled. How do I do this?? Thank you!!
Radu
Posts: 9057
Joined: Fri Jul 09, 2004 5:18 pm

Re: making notes in xml - newbie question :)

Post by Radu »

Hi,

You can add an an XML comment, if you are working in the Text editing mode it looks like this:

Code: Select all

<!-- some text here -->
and it can be multi line.
If you are working in the Author mode you can press enter and choose "comment" in the content completion window.
The XML comments will not be rendered in the published output.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Earl36
Posts: 1
Joined: Mon Oct 24, 2022 11:18 pm
Contact:

Re: making notes in xml - newbie question :)

Post by Earl36 »

Hello and thank you @Radu for the tip. I'll try it out right away.
Post Reply