Get Links and Node Names through XSLT Options
amritanshu
Posted: Thursday, July 31, 2008 10:06:58 AM

Rank: Enthusiast

Joined: 7/2/2008
Posts: 34
Location: India
Hi,

I was wondering if I can get the links and node names fron ancestor node through XSLT in array format...

What I was trying to do is to use javascripts to convert the node name and its link into an array XML or text file so that I can pass it to Flash to make them as flash menu on runtime...

but I am able to do so...

I need to pass this value in flash through javascript..
<div id="topmenu">
<ul id="menuList" class="adxm menu">
<li><a href="http://hellboy/de/amritanshutesting.aspx">AmritanshuTesting</a><ul id="submenu1288" class="sublist">
<li><a href="/amritanshutesting/test1.aspx">test1</a><ul id="submenu1299" class="sublist">
<li><a href="/amritanshutesting/test1/test2.aspx">test2</a><ul id="submenu1300" class="sublist"></ul>
</li>
</ul>
</li>
<li><a href="/amritanshutesting/test3.aspx">test3</a><ul id="submenu1301" class="sublist"></ul>
</li>
<li><a href="/amritanshutesting/test4.aspx">test4</a><ul id="submenu1302" class="sublist"></ul>
</li>
<li><a href="/amritanshutesting/test5.aspx">test5</a><ul id="submenu1303" class="sublist"></ul>
</li>
</ul>
</li>
</ul>
</div>

<script>

var Links

function getMenulinks() {

Links[0] = "/amritanshutesting/test1.aspx"
Links[1] = "/amritanshutesting/test2.aspx"
Links[2] = "/amritanshutesting/test1/test3.aspx"
Links[3] = "/amritanshutesting/test5/test4.aspx"
Links[4] = "/amritanshutesting/test5.aspx"

LinkName[0] = "test1"
LinkName[1] = "test2"
LinkName[2] = "test3"
LinkName[3] = "test4"
LinkName[4] = "test5"



}

can somone pull me out through this issue...

Thanks in Advance...

Amritanshu

Good judgment comes from experience, and often experience comes from bad judgment. So experience is simply the name we give our mistakes...
satamita
Posted: Tuesday, August 26, 2008 3:02:40 PM

Rank: Enthusiast

Joined: 8/21/2008
Posts: 28
Location: Kolkata, India
Hi, Do you have this solution??

Thanks,
Satamita
Users browsing this topic
Guest


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.