| |

VerySource

 Forgot password?
 Register
Search
View: 609|Reply: 1

How do I grab the data displayed by the XML in the webpage?

[Copy link]

1

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-1-6 20:00:01
| Show all posts |Read mode
Crawl down the source code is no data, how else, thank you
Reply

Use magic Report

0

Threads

4

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

Post time: 2020-1-13 11:54:02
| Show all posts
XmlDocument doc = new XmlDocument ();
ArrayList n = new ArrayList ();
doc.Load (Server.MapPath ("p.xml"));
XmlNode r = doc.DocumentElement;
foreach (XmlNode nn in r.ChildNodes)
 n.Add (nn.FirstChild.Value);
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list