LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

XML help and special characters

Solved!
Go to solution

I'm having some trouble with the XML option with the "Generate help from source" feature and the documentation tags.  The issue seems to be that CVI is generating invalid XML files when there are certain characters in the documentation tags.  For example, it doesn't seem to work if I have a tag like this one:

/// HIRET Returns the output gain, in V/µm. 

The issue appears to be with the greek letter mu in the documentation comment.  The resulting XML seems to choke most programs that I try to use to read it.  The HTML help files seem to work fine.  I guess one option would be to simply stick to A-Z, a-z, 0-9, etc but I was wondering if there is something else that can be done.

0 Kudos
Message 1 of 3
(3,806 Views)
Solution
Accepted by tstanley

Try the HTML ASCII code "µ" That might work in the XML standards.

 

http://www.ascii.cl/htmlcodes.htm

Jattie van der Linde
Engineering Manager, Software & Automation
TEL Magnetic Solutions Ltd
Message 2 of 3
(3,645 Views)

That seems to work, or at least IE8 understands it and properly renders the character.  Unfortunently it makes the source code comments themselves a bit harder to read.  Thanks for the help!

0 Kudos
Message 3 of 3
(3,638 Views)