Forum OpenACS Q&A: Re: Commenting xql files?

Collapse
6: Re: Commenting xql files? (response to 1)
Posted by Randy O'Meara on
Good info. I had tried this type of comment outside any "queryset" element, both before and after "xml version" element and the system complained:

  Error: OH OH, error, first node is comment and not 'queryset'

and refused to load the xql file. I didn't take it further before I posted this question.

However, after reading the resonses, I delved a little deeper. And, as Andrei and Bruno indicate above, the standard comment mechanism does work within the "queryset" element but ouside of the "querytext" element.

Is there an emacs expert (Bart?) that can tell me how to make these xml comments stand out in font-lock? I'm using the emacs settings defined by Bart in This article.

BTW, this applies to the 4.6 CVS tip of a coupel weeks ago and AOLserver with nsxml (not checked with tDom), if that makes any difference.