Buongiorno a tutti
All’interno di un sito Web realizzato con WordPress, ho bisogno di riempire una combo box a partire dalla seguente stringa XML:
<response xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xmlns:xsd=”http://www.w3.org/2001/XMLSchema” status=”1″>
<content xsi:type=” getlanguages”>
<languages>
<language id=”1″ name=”Italiano” iso2code=”it”/>
<language id=”2″ name=”Espanol” iso2code=”es”/>
<language id=”3″ name=”English” iso2code=”en”/>
</languages>
</content>
</response>
Il risultato, dovrebbe essere una combo box con tre righe (“Italianoâ€, “Espanolâ€, “Englishâ€) associati ai valori 1,2,3.
Non sono pratico di personalizzazione di codice PHP su WordPress, qualcuno mi può dare una dritta sul modo corretto di ottenere il risultato richiesto?
Grazie.