1
vote
1answer
229 views

PHP Simplest XML tokenizer for string processing?

I need to do some text processing tasks with short XML fragments. The section "details" shows an example... My solution is to use a tokenizer based on regular expresions, but it is not elegant and not ...
0
votes
1answer
133 views

Is there a standard for Error Codes?

I've created a gateway which receives a POST from cUrl on one system which is a well-formed XML string. After processing the gateway sends back a response XML. All the fields in the XML are required ...
2
votes
2answers
2k views

How to read large XML files efficiently

I have a large XML file (about 75,000 lines) where I have to build a catalogue (houses) from. Building the lists works fine, but now I have a problem. The catalogue should have a detailed ...
2
votes
1answer
392 views

Is there's a way to speed up my php code which parse XML files

I'm developing a web application and we are using XML as a database and I'm using Linux as a platform and centos 6.5 as a server. Changing some value would make a lot a lot of changes in about six XML ...
-2
votes
1answer
263 views

Alternative to simplexml_load_string() function [closed]

I am using simplexml_load_string for xml string interpreting to object from results of a REST API. It's working fine in my local server, which is using PHP5. But my hosting is in Yahoo and the service ...
0
votes
1answer
97 views

Identifying elements from data feeds generated by affiliate sites

I am working with data feeds from affiliate sites. The basic idea is to provide an interface where the user can paste a link to an XML datafeed (these are huge btw, around 60 mb) that would then be ...
1
vote
4answers
1k views

How do I speed up XML parsing operation?

I currently have a php script set up to do some xml parsing. Sometimes the script is set as an on page include and other times it is accessed via an ajax call. The problem is the load time for this ...
4
votes
5answers
1k views

What programming language to choose for this XML and data processing task? [closed]

I currently code in PHP. Recently I've been working on a project using PHP and Symfony that: reads large XML files (lots of DOM parsing/reading), converts large XML files to large arrays, merges 2 ...
6
votes
2answers
440 views

How should I organize the words of a sentence for better outputs/maintenance and performance?

Having this sentence (consider many sentences in the future) David Henderson Houston patented the first roll film for cameras in 1881. I can make questions like 1. Who patented the roll film? ...