I have an xml file in this format:
<?xml version="1.0" encoding="iso-8859-1" standalone="yes"?>
<mib.language date="2005/1/1" version="1.0.0.0" desc="dutch template" author="unknown">
<phrase id="Add" value="Toevoegen aan"/>
<phrase id="AddBtn" value="TOEVOEGEN"/>
etc etc etc
</mib.language>
What i would like is to have a function that gets all values from this xml file sothat i can use it for translations.
Sothat in my php code i can use:
<?php echo $Add;?>
// to get the translation of id=Add
<?php echo $AddBtn;?>
// to get the translation of id=AddBtn.
Can someone please assist ?