Hi friends
I am working with PHP5 and have a requirement to select xml node on the base of parameter. My xml contains the list of country and it has child node of state list. Like this
I want to get the xml likeHTML Code:<?xml version="1.0" encoding="utf-8"?> <country_list> <country id="US"> <state>NY</state> <state>CA</state> <state>NJ</state> </country> <country id="AU"> <state>New South Wales</state> <state>Victoria</state> <state>Queensland</state> </country> </country_list>
Can anyone help me how can I achieve this?HTML Code:<country id="AU"> <state>New South Wales</state> <state>Victoria</state> <state>Queensland</state> </country>
thanks in advance.


LinkBack URL
About LinkBacks




Reply With Quote







Bookmarks
Algorithms and Data Structures
Java tutorials
Algorithms Forum