开发者

ASP.NET Rendering XMl/XSLT direct from the web - problem with non virtual path

开发者 https://www.devze.com 2022-12-27 06:27 出处:网络
i have a small problem. Im using the ASP.NET Xml control and want to pass it a url to a rss feed and开发者_高级运维 a stylesheet - so that i can style the rss myself on my website. When applying the f

i have a small problem. Im using the ASP.NET Xml control and want to pass it a url to a rss feed and开发者_高级运维 a stylesheet - so that i can style the rss myself on my website. When applying the full web path to the xml control (http://www.myserver.com/myfeed.rss) i get an exception telling me that the document source is not a valid virtual path. What am i doing wrong? I would hate to download the file before showing it...


Update: Instead of the DocumentSource property, there is a "Document" property (deprecated) which is an XmlDocument... i used this one instead.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号