Borort wrote: > Dear all, > > I have tried to convert XML format (e.g. > http://en.wikipedia.org/w/api.php?action=opensearch&search=apple&format=xml > <http://en.wikipedia.org/w/api.php?action=opensearch&search=apple&format=xml>) > to > JSON format by using xml2json > (http://www.thomasfrank.se/xml_to_json.html) . This worked well a couple > of months ago. However recently there is an error with the new XML > format that includes: xml:space="preserve" as attribute for each node. > > I wonder how this problem could be solved. > > Best, > > Borort
Report to xml2json developers that their tool doesn't support xml:space="preserve" attribute. Alternatively, you could use http://en.wikipedia.org/w/api.php?action=opensearch&search=apple&format=json _______________________________________________ Mediawiki-api mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
