通过Web服务读取HTML中的Xml文件 [英] Reading a Xml file in html through web services

查看:97
本文介绍了通过Web服务读取HTML中的Xml文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何通过Visual Studio中的Web服务解析和读取html页面中的xml文件.我需要全局声明该xml文件,以便任何人都可以访问相应的xml.

首先,您不需要Web服务即可执行使文件可访问".只需编写一个没有呈现输出并且对该文件进行Response.WriteFile的网页即可.您无需解析文件即可对其进行访问.您的问题充其量是含糊的.


how to parse and reading a xmlfile in html page through web service in visual studio.i need the xml file to be declared globally.so that any one can access the corresponding xml.

解决方案

First, you don''t need a web service to do "make the file accessible". Just code up a web page that has no rendered output and that does a Response.WriteFile with the file in question. You don''t need to parse the file to make it accessible. Your question is vague at best.


这篇关于通过Web服务读取HTML中的Xml文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆