Hi,
I dont know whether you want to do this in php.
If it is in php then go through the following codes.
<?
$arr = array('a','b','c');
$count = count($arr);
echo("<?xml version=\"1.0\" encoding=\"iso-8859-1\" ?>");
echo("<ALPHABETS total='$count'>");
for($i=0;$i<count($arr);$i++)
{
echo("<VALUE>$arr[$i]</VALUE>");
}
echo("</ALPHABETS>");
?>
The output would be of this format
<?xml version="1.0" encoding="iso-8859-1" ?>
<ALPHABETS total='3'>
<VALUE>a</VALUE>
<VALUE>b</VALUE>
<VALUE>c</VALUE>
</ALPHABETS>
regards
tariq
> > Does anyone have idea??- Hide quoted text -
>
> - Show quoted text -