Page 1 of 1

Convert Wikipedia XML data to HTMLtext

Posted: Mon Dec 04, 2017 3:59 am
by capellan
Searching for another file in my email, I found this stack. :)

This code parses Wikipedia XML data into HTMLtext to display inside a field.

Notice that you could paste the XML data copied from a Wikipedia webpage into the field labeled
"Wikipedia XML Data".

For example, you can copy the source from this page: (The Text field under the phrase:
"You can view and copy the source of this page:")
http://en.wikipedia.org/w/index.php?tit ... ction=edit

Click the button and the XML is converted to HTMLtext.
Notice that the conversion is imperfect, but it's a starting point.

Al
Wikipedia_XML_to_HTMLtext.zip
Compressed stack
(96.37 KiB) Downloaded 20 times

Re: Convert Wikipedia XML data to HTMLtext

Posted: Mon Dec 04, 2017 4:07 am
by bogs
Nice find !