All Questions

1784
votes
28answers
341443 views

How do you parse and process HTML/XML in PHP?

How can one parse HTML/XML and extract information from it?
100
votes
5answers
72899 views

Parsing XML with namespace in Python via 'ElementTree'

I have the following XML which I want to parse using Python's ElementTree: <rdf:RDF xml:base="http://dbpedia.org/ontology/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:ow...
121
votes
6answers
156168 views

Best XML Parser for PHP

I have used the XML Parser before, and even though it worked OK, I wasn't happy with it in general, it felt like I was using workarounds for things that should be basic functionality. I recently saw ...
6
votes
2answers
953 views

How to parse invalid (bad / not well-formed) XML?

Currently, I'm working on a feature that involves parsing XML that we receive from another product. I decided to run some tests against some actual customer data, and it looks like the other product i...
570
votes
15answers
410617 views

How to display HTML in TextView?

I have simple HTML: <h2>Title</h2><br> <p>description here</p> I want to display HTML styled text it in TextView. How to do this?
273
votes
5answers
114477 views

What XML parser should I use in C++?

I have XML documents that I need to parse and/or I need to build XML documents and write them to text (either files or memory). Since the C++ standard library does not have a library for this, what sh...
25
votes
3answers
15413 views

Why is it such a bad idea to parse XML with regex?

I was just reviewing a previous post I made and noticed a number of people suggesting that I don't use Regex to parse xml. In that case the xml was relatively simple, and Regex didn't pose any problem...
87
votes
2answers
267509 views

jQuery xml error ' No 'Access-Control-Allow-Origin' header is present on the requested resource.'

I am working on this personal project of mine just for fun where I want to read an xml file which is located at http://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml and parse the xml and use ...
24
votes
2answers
15167 views

DOMDocument in php

I have just started reading documentation and examples about DOM, in order to crawl and parse the document. For example I have part of document shown below: <div id="showContent"> <...
60
votes
6answers
169599 views

How to read and write xml files?

I have to read and write to and from an XML file. What is the easiest way to read and write XML files using Java?

Previous Next