Dyanamic Array creation in XSL from xml.....need help ASAP

HI ALL..

NEED UR EXPERT HELP ASAP
Heres my problem:
I want a dynamic tree structure in my frameset. Next XSL is working OK but the values in array are hardcoded. I want the xsl should be wirte in a way that the hardcoded values in array will be read dynamically from the above mentioned xml files.
So, that my javascript works fine with the dynamic values.

<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet type="text/xsl" href="treeview1.xsl"?>

<tree>
<content>
<section>Retirement Checkup</section>
<subsection>
<subsectiontext>Link 1</subsectiontext>
<subsectiontext>Link 2</subsectiontext>
<subsectiontext>Link 3</subsectiontext>
<subsectiontext>Link 4</subsectiontext>
<subsectiontext>Link 5</subsectiontext>
</subsection>
</content>
<content>
<section>Financial Strategy</section>
<subsection>
<subsectiontext>Link 6</subsectiontext>
<subsectiontext>Link 7</subsectiontext>
<subsectiontext>Link 8</subsectiontext>
<subsectiontext>Link 9</subsectiontext>
</subsection>
</content>
</tree>

<html>
<head>
<title>About an Expanding and Collapsing ToC Menu</title>
<script language="JavaScript">
var tocTab = new Array();
tocTab[0] = new Array ("0", " ", "");
tocTab[1] = new Array ("1", "Retirement Checkup", "body.html");
tocTab[2] = new Array ("1.1", "Checkup A", "body1.html");
tocTab[3] = new Array ("1.2", "Checkup B", "body2.html");
tocTab[8] = new Array ("2", "Your Financial Strategy", "body.html");
tocTab[9] = new Array ("2.1", "Overview", "body1.html");
tocTab[10] = new Array ("2.2", "Retirement", "body2.html");
var nCols = 2;
</script>
<script language="JavaScript" src="tocParas.js"></script>
<script language="JavaScript" src="displayToc.js"></script>
</head>
<frameset cols="200,*" border=0 onload="reDisplay('0',true);">
<frame src="blank.htm" name="toc">
<frame src="body1.html" name="content">
</frameset>

Please send me ASAP and post it in forum.
[2426 byte] By [spalit1000] at [2007-11-18 18:35:54]
# 1 Re: Dyanamic Array creation in XSL from xml.....need help ASAP
Perhaps you could show us your stylesheet, I sure as **** won't write it from scratch for you.
khp at 2007-11-10 3:28:19 >
# 2 Re: Dyanamic Array creation in XSL from xml.....need help ASAP
khp ..

I wont post it if I would know that.
spalit1000 at 2007-11-10 3:29:11 >
# 3 Re: Dyanamic Array creation in XSL from xml.....need help ASAP
Originally posted by spalit1000
I wont post it if I would know that.

You are not making any sense.
khp at 2007-11-10 3:30:20 >