Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > XML > XSLT
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
XSLT General questions and answers about XSLT. For issues strictly specific to the book XSLT 1.1 Programmers Reference, please post to that forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XSLT section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old February 23rd, 2007, 02:53 AM
Registered User
 
Join Date: Feb 2007
Location: Vadodara, Gujarat, India.
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to harshalchoksi Send a message via Yahoo to harshalchoksi
Default Query About XSLT-Urgent

div class="cp_search-Control" style="WIDTH: 526px; HEIGHT: 76px">
<label for="Select1">Search in</label><select id="Select1" size="1" name="ddlSection"><option value="0">Whole site<option value="526">Value</option>
<option value="564">Value2</option><option value="596">Value3</option>
<option value="618">Issues 2.2</option><option value="565">Test Area</option>
</option></select><label for="txtSearch">for</label><input class="cp_search-inputtext" id="txtSearch" type="text" name="txtSearch" />
<input class="cp_search-searchbutton" onkeypress="Javascript: getSearchResults();" onclick="Javascript: getSearchResults();" type="button" value="Search" />
</div>

i have this xml,so i want to display something like this

Search in <Dropdownlist Control> for <SearchButton>
<textbox>

i want this thru XSLT.I m completely new of XSLT, here dropdownlist should bind dynamically, anybudy can help????? it would be appriciated.

Harshal D. Choksi
Reply With Quote
  #2 (permalink)  
Old February 23rd, 2007, 05:06 AM
mhkay's Avatar
Wrox Author
Points: 18,487, Level: 59
Points: 18,487, Level: 59 Points: 18,487, Level: 59 Points: 18,487, Level: 59
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Apr 2004
Location: Reading, Berks, United Kingdom.
Posts: 4,962
Thanks: 0
Thanked 292 Times in 287 Posts
Default

Please try to make it easier for people to respond. Format your input so we can see its structure. Express your output in well-formed XML or HTML (I suspect that you don't want to output "<Dropdownlist Control>" but you are expecting me to guess what you do want to output). Tell us how your output relates to the input.

Michael Kay
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference
Reply With Quote
  #3 (permalink)  
Old February 23rd, 2007, 05:14 AM
Registered User
 
Join Date: Feb 2007
Location: Vadodara, Gujarat, India.
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to harshalchoksi Send a message via Yahoo to harshalchoksi
Default

i want to have such kind of things

Search in <dropdownlist> For <Button> <textBox>


here i have
<Search in> is a hard text
<dropdownList> is a dropdownlist which should be bind dynamically from database
<For> is a hard text
<Button> is a Button which call javascript
<TextBox> is a textbox.

now i want XSLT, i don't have any idea about XSLT.please help me as soon as possible,because its urgent.

Harshal D. Choksi
Reply With Quote
  #4 (permalink)  
Old February 23rd, 2007, 05:30 AM
mhkay's Avatar
Wrox Author
Points: 18,487, Level: 59
Points: 18,487, Level: 59 Points: 18,487, Level: 59 Points: 18,487, Level: 59
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Apr 2004
Location: Reading, Berks, United Kingdom.
Posts: 4,962
Thanks: 0
Thanked 292 Times in 287 Posts
Default

If you are starting a new language then you need to take time to learn about it before you try and achieve results. If you asked me "I'm new to driving cars and I need to get into town tonight, please help me, it's urgent", then I would tell you to go by bus and enroll on a driving course tomorrow morning. My advice for XSLT is the same. Get yourself a good book, take your time reading it and studying it, and find some other way to meet your urgent requirement.

Michael Kay
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference
Reply With Quote
  #5 (permalink)  
Old February 23rd, 2007, 05:33 AM
Registered User
 
Join Date: Feb 2007
Location: Vadodara, Gujarat, India.
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to harshalchoksi Send a message via Yahoo to harshalchoksi
Default

sorry Michael, because its something very urgent so i have written something like that.within short time, i have to finish it.Please help me on this issue. i need XSLT file for that.....i appriciate your help.

Harshal D. Choksi
Reply With Quote
  #6 (permalink)  
Old February 23rd, 2007, 06:35 AM
mhkay's Avatar
Wrox Author
Points: 18,487, Level: 59
Points: 18,487, Level: 59 Points: 18,487, Level: 59 Points: 18,487, Level: 59
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Apr 2004
Location: Reading, Berks, United Kingdom.
Posts: 4,962
Thanks: 0
Thanked 292 Times in 287 Posts
Default

I am only interested in teaching you if you are prepared to take the time to learn. For that reason, I very rarely answer posts described as "urgent".

Michael Kay
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference
Reply With Quote
  #7 (permalink)  
Old February 23rd, 2007, 06:43 AM
Registered User
 
Join Date: Feb 2007
Location: Vadodara, Gujarat, India.
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to harshalchoksi Send a message via Yahoo to harshalchoksi
Default

ya that's fine. i am ready to learn,but can you tell me how to pass parameter for that?

Harshal D. Choksi
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
XSLT Function very urgent alapati.sasi XSLT 3 May 23rd, 2007 03:45 AM
doubt in XSLT -- very urgent subbukns XSLT 1 May 21st, 2007 05:10 PM
Urgent help regarding XSLT parsing.... to xml.. netbramha XSLT 1 September 19th, 2005 09:03 AM
urgent help with xslt sonya9879 XSLT 1 August 18th, 2005 09:17 AM
XSLT HELP URGENT! pkg XSLT 3 June 22nd, 2005 01:46 AM



All times are GMT -4. The time now is 06:56 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.