I need an XML parser like SimpleXML, to use in commercial apps.
I think SimpleXML can’t be used in commercial apps. So, I’m searching here and on Google but couldn’t find an alternative. The only easy-to-use and efficient parser I find is SimpleXML.
How do I go about using this on a commercial application?
You can use Apache licensed software in you Application, provided you include a copy of the license and give proper attribution. For more information read this post or read the Apache 2.0 license.
PS: I am not a lawyer and this is not legal advice. Read the license and seek a lawyer if you are unsure of anything mentioned in the license.