Creating an XSL Commenter

Provided by the FMS Development Team

The diversity of the Visual Studio editor is awesome in that it handles every kind of file and tries to color-code it. In some cases, however, the comment characters may be somewhat cumbersome, e.g. <!--comment-->.

The Visual Studio editor has nothing to comment XSL lines, but you can create an XSL commenter by using Visual Studio macros. Copy the function, in the sample code section, to the Visual Studio Macro editor. To use this macro, simply select code anywhere in the Visual Studio Editor and run it.

We have provided the Sample Code.

And you have a fully functional XSL commenter!

For more information, visit our FMS Tip on VS Macros page!

Additional Resources



Thank you! Thank you! I just finished reading this document, which was part of a link in the recent Buzz newsletter. I have printed it for others to read, especially those skeptical on the powers of Access and its capabilities.

Darren D.

View all FMS products for Microsoft Access All Our Microsoft Access Products



Free Product Catalog from FMS