Re: xml problem with monodoc
Jonathan Pryor <[email protected]>
| Newsgroups | gmane.comp.gnome.mono.documentation |
|---|---|
| Message-ID | <[email protected]> |
On Fri, 2006-06-23 at 13:20 +0200, Alexandre Grin wrote:
> Ok, thanks a lot. And for a line return?
Why would you need to escape a line return? I'm not understanding your
scenario...
Code examples should be within <code/> elements, and the rendering of
<code/> elements preserves all newlines (it's like HTML <pre/> but
without using a fixed-width font), e.g.
<code lang="C#">
using System;
class Test {
static string ui_info =
" <menubar>\n" +
" < menu name=\"MenuFile\" action=
\"firstMenu\">\n"+
/* ... */
" </menubar>\n";
/* ... */
}
</code>
Look at the existing XML documentation for examples.
- Jon
_______________________________________________
Mono-docs-list maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-docs-list