[Mono-aspnet-list] Asp:xml

Badre ZOUIRI badre.rootunix at gmail.com
Wed Apr 22 01:30:36 EDT 2009

hi guys

I am here to tell you about the WebControl asp: xml it "show an XML document
without formatting or using XSLT transformation language." but working on a
project when I need to fetch the XML file has a partire exterene source
(http) that I find it impossible, the cause is a line of code in the method
Render (HtmlTextWriter output) of the class System.web.ui.webcontrols.XML
(xml_doc.Load (MapPathSecure (xml_file));).
it's means that only the local XML file of the site can be loaded.
it's must simply delete  the MapPathSecure. recompile and then you can use
the component using the http link or other XML file.

i think it's a bug mono should fix it soon.

Badre Zouiri
21, lot nakhla Skhirat - Maroc
GSM: (+212) (0) 614 23 57 20
E-mail: badre.rootunix at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-aspnet-list/attachments/20090422/7f166046/attachment.html 

More information about the Mono-aspnet-list mailing list