I was trying to use the domxml extension for PHP to read in an XML file, then run through the nodes (tags, attributes, text, everything) and then I'm going to map that data to a MySQL database.
But I just discovered the built in xmlparser functions, and I was wondering if they would be a better/more stable/more permanent solution.
Neither domxml or xmlparser very good documentation (samples and such). Would one be better than the other for what I want to do?
Also, I will be using characters from most foreign languages. Would this change what I should use? I tried using xmlparser with fopen, using a sample script from the documentation, and it just displayed a question mark for all the chinese characters.
Thanks in advance for your time and expertise.
Natwod
But I just discovered the built in xmlparser functions, and I was wondering if they would be a better/more stable/more permanent solution.
Neither domxml or xmlparser very good documentation (samples and such). Would one be better than the other for what I want to do?
Also, I will be using characters from most foreign languages. Would this change what I should use? I tried using xmlparser with fopen, using a sample script from the documentation, and it just displayed a question mark for all the chinese characters.
Thanks in advance for your time and expertise.
Natwod