Hello. I'm making a program where I'm using Wikipedia's API, or MediaWiki.
What I want is to parse the XML, which looks like this:
http://en.wikipedia.org/w/api.php?a...evisions&rvprop=content&imlimit=20&format=xml
As you can see, there is "|" signs between the different "things" in the xml, for instance: website = {{URL|"This is the URL"}} | associated_acts = [[Fort Minor]], [[Dead by Sunrise]] etc etc.
How would I find the "Website" and read the text within it, and stopping where the | comes in?
I'm using C#.
Many thanks in advance!
What I want is to parse the XML, which looks like this:
http://en.wikipedia.org/w/api.php?a...evisions&rvprop=content&imlimit=20&format=xml
As you can see, there is "|" signs between the different "things" in the xml, for instance: website = {{URL|"This is the URL"}} | associated_acts = [[Fort Minor]], [[Dead by Sunrise]] etc etc.
How would I find the "Website" and read the text within it, and stopping where the | comes in?
I'm using C#.
Many thanks in advance!