将页面内容保存在xml文件中 [英] saving page content in xml file

查看:88
本文介绍了将页面内容保存在xml文件中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好
我已经使用URL返回我的页面内容作为字符串.现在我想将此内容另存为xml文件在我的PC上.

任何帮助,请

谢谢

hi all
i have already returned my page content as string using its URL . now i want to save this content as xml file on my PC.

any help, please

thanks

推荐答案

我试图在我的技巧文章之一中进行解释,这与您的要求非常相似
请查看它可以为您提供帮助
使用WebClient从URL获取页面HTML,使用Regex剥离HTML ,将锚定列表导出到Excel或XML. [
I have tried to explain in one of my trick article which is quite similar to your reuqirement
Please view this it can help you
Get page HTML from URL using WebClient, Strip HTML using Regex , export a list of Anchors into Excel or XML.[^]


这篇关于将页面内容保存在xml文件中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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