Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > XML > BOOK: XSLT Programmer's Reference, 2nd Edition
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: XSLT Programmer's Reference, 2nd Edition
This is the forum to discuss the Wrox book XSLT: Programmer's Reference, 2nd Edition by Michael Kay; ISBN: 9780764543814
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: XSLT Programmer's Reference, 2nd Edition 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
 
 
Thread Tools Display Modes
  #11 (permalink)  
Old January 27th, 2010, 04:25 PM
Authorized User
 
Join Date: Jan 2010
Posts: 33
Thanks: 13
Thanked 0 Times in 0 Posts
Default

Michael,

I ask them for more clarification and am waiting to hear from them. In the meantime here is an excerpt of the requirement

Use the attached XML file which contains hotel information as it is returned to our servers for 5 distinct hotels to create a hotel selection interface. You should submit two files, the asp file which runs the code and the XSL file which will handle the display of the hotels.

The page should work inserted into any ASP web application so it should not rely on any external files or images or anything. Also, you should not worry too much about styling it, we're not testing your CSS ability, just the XML/XSL ability.

The page should work in the following way:
Initially, the user should see a dropdown box containing the names of all of the hotels in the XML file
Once a hotel is selected, its information should be displayed on the same page
You do not need to display all information, just the following:
Hotel Name
Address
Description
Rate information
You may assume that the hotelID is unique among all hotels
When the hotel information is shown, the user should be able to select another hotel and have that information shown

So judging by the requirement I think you are correct that they want XSLT and not ASP.NET to handle the display of hotels. Can you help me with this XSL?
  #12 (permalink)  
Old January 27th, 2010, 05:31 PM
mhkay's Avatar
Wrox Author
Points: 18,252, Level: 58
Points: 18,252, Level: 58 Points: 18,252, Level: 58 Points: 18,252, Level: 58
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Apr 2004
Location: Reading, Berks, United Kingdom.
Posts: 4,929
Thanks: 0
Thanked 281 Times in 276 Posts
Default

I suspect I've already given you a lot more teaching time than the people who are being paid to teach you.
__________________
Michael Kay
http://www.saxonica.com/
Author, XSLT 2.0 and XPath 2.0 Programmer\'s Reference
The Following User Says Thank You to mhkay For This Useful Post:
  #13 (permalink)  
Old January 27th, 2010, 06:08 PM
Authorized User
 
Join Date: Jan 2010
Posts: 33
Thanks: 13
Thanked 0 Times in 0 Posts
Default

I am not going to school for this. I just got the answer back and they said yes to ASP.NET method. All I ask you is convert RateInfo element to a attribute for me.
 


Thread Tools
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
Regarding xml-html transformation of an xml string using xslt and javascript suprakash444 XSLT 1 January 12th, 2009 12:23 AM
xml transformation spring152103 XSLT 9 October 14th, 2008 07:50 PM
Is XML supports transformation of HTML to XML? zeeonline XSLT 1 July 28th, 2006 05:13 PM
Transformation Question realgone_ SQL Server DTS 1 March 3rd, 2005 09:22 PM
XML to XML transformation using XSLT karjagis XSLT 3 July 30th, 2004 06:13 AM



All times are GMT -4. The time now is 03:29 PM.


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