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 May 21st, 2007, 04:28 AM
Registered User
 
Join Date: May 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default doubt in XSLT -- very urgent

I have a xslt code snippet as below:

<td valign="top" width="14%" class="bodytextbold" >
    <select name="selectMedium" class="bodytext" onChange="changeOption(selectedIndex)">
    <option value="">--- Select ---</option>
    <option value="T">Phone</option>
    <option value="F">Fax</option>
    <option value="M">Mail</option>
    <option value="V">Verbal</option>
    </select>
</td>

This will give me a drop down box with the values listed above and I could select what ever value I want to select.

But here my problem is that....I will get a xml string from other components and based on the value for the node "medium" the value should be automatically selected. If xml node "medium" doesn't
contain any value the default value "-- select --" should be selected. And at the same I should be able to change the
value at anytime.

Please suggest me in this regard as I am not familiar with XSLT.

Thanks,
Subbu.

 
Old May 21st, 2007, 05:10 PM
mhkay's Avatar
Wrox Author
 
Join Date: Apr 2004
Posts: 4,962
Thanks: 0
Thanked 292 Times in 287 Posts
Default

I'm sorry, but I have no sympathy with someone who gets into a position where you have no familiarity with a language, but yet have a "very urgent" problem to solve. If your problem is urgent, you should be using a technology that you are familiar with. I'm very happy to help people who are learning the language, but not if they are in a hurry.

Michael Kay
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference





Similar Threads
Thread Thread Starter Forum Replies Last Post
doubt in xslt mobbeena XSLT 3 May 5th, 2008 07:58 AM
Very urgent, Doubt in ASP ssramvinay Classic ASP Databases 1 April 17th, 2007 01:21 PM
very very urgent doubt spec in c#.net geetha VS.NET 2002/2003 0 December 21st, 2005 07:29 AM
doubt in xslt rameshnarayan XSLT 2 August 31st, 2005 07:28 AM
urgent doubt between class & structure lgeetha C# 5 February 24th, 2005 09:27 AM





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