[Mono-docs-list] xml problem with monodoc
Alexandre Grin
alexandre.grin at gmail.com
Fri Jun 23 07:20:40 EDT 2006
Ok, thanks a lot. And for a line return?
Alex Grin
On 6/23/06, Jonathan Pryor <jonpryor at vt.edu> wrote:
>
> On Mon, 2006-06-19 at 23:17 +0200, Alexandre Grin wrote:
> > string ui_info =
> > " <menubar>\n" +
> > " <menu name=\"MenuFile\" action=\"firstMenu\" >\n" +
> ...
> > But Monodoc doesn't like it because there are xml structure in it...
> > Does anyone know how I can get the stuff?
>
> Escape the XML by using < for '<', & for '&', , > for
> '>' (which isn't always necessary), etc. Thus:
>
> string ui_info =
> " <menubar>\n" +
> " < menu name=\"MenuFile\" action=\"firstMenu\" >\n" +
> ...
>
> - Jon
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-docs-list/attachments/20060623/7a4e38e2/attachment.html
More information about the Mono-docs-list
mailing list