473,411 Members | 1,980 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,411 software developers and data experts.

xslt to generate dynamic drop down list

sir

I need to have an xslt to generate the dynmaic drop down list. The size is
detetmined by the a para in xml. Inside the drop list, when the index is
onclick, it
will have java script to redirect the url: http:\name\?param=docId etc.

Is it possible
<message>
<docList>
<docSet>1</docSet>
<docTp>A1/docTp>
<docTotPage>10/docTotPage>
<docId>A1Id/docId>

<docSet>1</docSet>
<docTp>B1</docTp>
<docTotPage>2/docTotPage>
<docId>B1Id/docId>

<docSet>2</docSet>
<docTp>A2</docTp>
<docSet>1</docSet>
<docTotPage>3/docTotPage>
<docId>A2Id/docId>

<docTp>C1</docTp>
<docSet>2</docSet>
<docTp>B2</docTp>
<docTotPage>40</docTotPage>
<docId>B2Id/docId>

</docList>
</message>

I need to generate somehting list

DocSet 1
Doc Tp = A1 dropdown list with index 1,2,-------docTotPage, ofr each
index, it has the javascript to redirect the docID by
http://servername/?param=docA1+001

Doct Tp = B1 dropdown lisr with index 1,2,..........docTotpage
Doc Tp = C1 dropdown lisr with index 1,2,..........docTotpage
DocSet2
DocTp = A2 dropdown lisr with index 1,2,..........docTotpage

......

Please suggest
</docList>
Jul 20 '05 #1
0 3899

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: timothy ma and constance lee | last post by:
Sir I am using the recursive template to generate the dynamic drop down list as below: <xsl:template name="generateDropdown"> <xsl:param name="length" /> <xsl:param name="refrid" />...
5
by: Fred | last post by:
Not much expertise on XSLT and trying to understand it's uses when creating apps in VS.NET? If I wanted flexibility on the UI (View aspect of M.V.C.): - How does it compare with creating...
1
by: ayende | last post by:
Okay, I'm pretty sure that I'm doing everything right here, but something is very wrong in the result. I've a page that has a drop down list (with auto-post-back = true) and a place holder. ...
3
by: thomas.porschberg | last post by:
Hi, I want to read records from a database and export it in an arbitrary format. My idea was to feed a class with a String array fetched from the database and let this class fire SAX events as...
0
by: DAnne | last post by:
Hi, I'm very new to xslt and this is my first time posting to a Forum so please forgive me if I transgress any protocols. I have to do a tally report. This report is divided up into sections....
0
by: cindy | last post by:
I have a dynamic datagrid. I have custom classes for the controls public class CreateEditItemTemplateDDL : ITemplate { DataTable dtBind; string strddlName; string strSelectedID; string...
2
by: Jim Gregg | last post by:
Hello all, I am faced with some logic that I am unsure how to handle. Imagine that I am running a WMI query and I am outputting the data into a dynamically created ASP table control. Here is my...
0
by: Slickuser | last post by:
From my PHP page: Grab all data from the database. Go through a loop to generate the HTML. Client side: From the Color drop menu list, if a user change the value. It will grab that value &...
4
by: audreyality | last post by:
I am new to javascript and appreciate any guidance on this issue, so thank you in advance for your advice! Situation: I am working with a form that will send information to a database. I need the...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
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,...
0
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...

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.