Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XSLT
|
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 23rd, 2007, 02:53 AM
Registered User
 
Join Date: Feb 2007
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
 
Old February 23rd, 2007, 05:06 AM
mhkay's Avatar
Wrox Author
 
Join Date: Apr 2004
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
 
Old February 23rd, 2007, 05:14 AM
Registered User
 
Join Date: Feb 2007
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
 
Old February 23rd, 2007, 05:30 AM
mhkay's Avatar
Wrox Author
 
Join Date: Apr 2004
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
 
Old February 23rd, 2007, 05:33 AM
Registered User
 
Join Date: Feb 2007
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
 
Old February 23rd, 2007, 06:35 AM
mhkay's Avatar
Wrox Author
 
Join Date: Apr 2004
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
 
Old February 23rd, 2007, 06:43 AM
Registered User
 
Join Date: Feb 2007
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





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





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.