Re: xml problem with monodoc
"Alexandre Grin" <[email protected]>
| Newsgroups | gmane.comp.gnome.mono.documentation |
|---|---|
| Message-ID | <[email protected]> |
Ok, thanks a lot. And for a line return? Alex Grin On 6/23/06, Jonathan Pryor <[email protected]> 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 > > > _______________________________________________ Mono-docs-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-docs-list