Hello everybody, this is my first post at tek-tips!
I am a complete newbie concearning using XML with HTML.
I know already a bit of XML structure so the problem is more or less like a Hint. Here's the conception I am thinking of:
I have completed a webpage but its main contents force me to have a multilanguage website. What is the best way to program it? Using 2 XML files (One language and the other one another language) or there's a simple way-out off redundancy and hardcoding the HTML pages? Just one XML file?
I've started the XML structure already:
<?xml version="1.0" encoding="ISO8859-1" ?>
<portuguese>
<cabecalho>Benvindos!!!
</cabecalho>
</portuguese>
-----------------------------------------------------------
<?xml version="1.0" encoding="ISO8859-1" ?>
<english>
<cabecalho>Welcome!!!
</cabecalho>
</english>
Thanks in advance.
I am a complete newbie concearning using XML with HTML.
I know already a bit of XML structure so the problem is more or less like a Hint. Here's the conception I am thinking of:
I have completed a webpage but its main contents force me to have a multilanguage website. What is the best way to program it? Using 2 XML files (One language and the other one another language) or there's a simple way-out off redundancy and hardcoding the HTML pages? Just one XML file?
I've started the XML structure already:
<?xml version="1.0" encoding="ISO8859-1" ?>
<portuguese>
<cabecalho>Benvindos!!!
</cabecalho>
</portuguese>
-----------------------------------------------------------
<?xml version="1.0" encoding="ISO8859-1" ?>
<english>
<cabecalho>Welcome!!!
</cabecalho>
</english>
Thanks in advance.