473,473 Members | 1,974 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

get the attribute value from xml tree menu as2

oll3i
679 Contributor
I want the get the value of attribute frame of selected node from xml and go to that frame
my menu.xml
Expand|Select|Wrap|Line Numbers
  1. <node label="» LEKCJA 1">
  2.         <node label="Dialog 1" frame="4" />
  3.         <node label="Słówka 1" frame="5"/>
  4.         <node label="Ćwiczenie 1" frame="6"/>
  5.         <node label="Gramatyka 1" frame="7"/>
  6.                 <node label="Ćwiczenie 2" frame="8"/>
  7.                 <node label="Ćwiczenie 3" frame="9"/>
  8.  
  9. </node>
  10. <node label="» LEKCJA 2">
  11.         <node label="Dialog 1" frame="10"/>
  12.         <node label="Słówka 1" frame="11"/>
  13.         <node label="Ćwiczenie 1" frame="12"/>
  14.         <node label="Gramatyka 1" frame="13"/>
  15.                 <node label="Ćwiczenie 2" frame="14"/>
  16.                 <node label="Ćwiczenie 3" frame="15"/>
  17. </node>
  18. <node label="» LEKCJA 3">
  19.         <node label="Dialog 1" frame="16"/>
  20.         <node label="Słówka 1" frame="17"/>
  21.         <node label="Ćwiczenie 1" frame="18"/>
  22.         <node label="Gramatyka 1" frame="19"/>
  23.                 <node label="Ćwiczenie 2" frame="20"/>
  24.                 <node label="Ćwiczenie 3" frame="21"/>
  25. </node>
  26. <node label="» TEST" frame="22"></node>
  27.  
or is there other way of achieving that?
thank You
Dec 2 '08 #1
0 2746

Sign in to post your reply or Sign up for a free account.

Similar topics

7
by: svilen | last post by:
hello again. i'm now into using python instead of another language(s) for describing structures of data, including names, structure, type-checks, conversions, value-validations, metadata etc....
9
by: Christian Roth | last post by:
Hello, when using this "identity" processing sheet: <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="xml" encoding="iso-8859-1" /> ...
2
by: piraticman | last post by:
Hi. I have some code for a javascript jump menu... It validated with HTML 4.0 but now does not validate with XHTML strict 1.0. I have used name atributes in my code which aparantly are not...
7
by: johkar | last post by:
I am confused on childNodes or children. When you have nested lists, I would think it would all be one list in the Dom, this doesn't seem to be the case. So how do you traverse an unordered list?...
4
by: Sergio Millich | last post by:
I have an annoyîng problem with a javascript tree. When you scroll down to the bottom of the tree and click to open a node the tree is refreshed and scrolls back to the top, hiding the node. Is...
2
by: Keith Chadwick | last post by:
Is there a way to append to an attribute in XSLT. For example: <input name="emailaddress" style="width:200px"> <xsl:apply-templates select="//object"/> </input> <xsl:template...
2
by: Isz | last post by:
Hi Group: I would like to know if it is possible to change the name of an attribute to something else. My setup is like this: I have serveral SQL tables that I nest and join so that it all...
3
by: Reinhold Schrecker | last post by:
Hi there, I am trying to generate a dynamic menu with JavaScript/DOM and have problems to set the onclick-attribute for my <a>-elements. The following code works fine in Opera and Mozilla but...
1
by: w.p. | last post by:
Hello! I have some trouble with my GUI. I have left panel with foldpanelbar, but i need one item but not collapsed - simple button. I split my left panel into two foldpanelbars with one button...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.