What to use for XML parsing / reading in PHP4

后端 未结 7 857
陌清茗
陌清茗 2020-12-21 16:00

Unfortunatly I have to work in a older web application on a PHP4 server; It now needs to parse a lot of XML for calling webservices (custom p

7条回答
  •  失恋的感觉
    2020-12-21 16:54

    It might be a bit grass roots, but if it's applicable for the data you're working with, you could use XSLT to transform your XML in to something usable. Obviously once you upgrade to PHP5 the XSLT will still work and you can migrate as and when to DOM parsing.

    Andrew

提交回复
热议问题