Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XML
|
XML General XML discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XML 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 January 20th, 2009, 04:37 PM
Registered User
 
Join Date: Jan 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Smile XmlDataSource DDL and Gridview

I would like to create a simple page that uses an xml file with the following data.

Jobrole Course1 Course2 Course3 Course4

I then need a dropdown that shows all of the jobroles with the xml file and then upon selection of the Jobrole it displays the Course1 to 4 list either i a gridview or just as a list.

I can do this confidently using SQLDataSoure and any relational databsae but I am new to XML and am not sure how to use it.

Is anyone able to provide me with a sample?

Appreciate any help or guidance provided
 
Old January 20th, 2009, 05:49 PM
mhkay's Avatar
Wrox Author
 
Join Date: Apr 2004
Posts: 4,962
Thanks: 0
Thanked 292 Times in 287 Posts
Default

You haven't said what technology you want to use: XSLT?

You're being a bit ambitious hoping that someone will give you a solution to this particular task especially as you have given such a sketchy description of the input and output. Get yourself a good book and work through some of the examples, or if you're short of cash go through one of the on-line tutorials on the web. Then come back here when there's a specific point you don't understand.
__________________
Michael Kay
http://www.saxonica.com/
Author, XSLT 2.0 and XPath 2.0 Programmer\'s Reference
 
Old January 21st, 2009, 10:09 AM
Registered User
 
Join Date: Jan 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Thanks

Ok,

Could you perhaps recommend a book to look at then because there seems to be lots that are based on XML and .Net?

Once I have read the book I will come back to the forum with any questions or specifics.

Thanks for your advice
 
Old January 21st, 2009, 10:49 AM
mhkay's Avatar
Wrox Author
 
Join Date: Apr 2004
Posts: 4,962
Thanks: 0
Thanked 292 Times in 287 Posts
Default

Well, you'll have seen from my sig that I'm the author of the Wrox XSLT/XPath reference book. This is a big book that gives very comprehensive coverage of the language; it also goes quite deeply into the concepts. It's a book for people who like detail and who want a deep understanding. There are other books, such as Jeni Tennison's, that might be better if you prefer a gentler introduction.
__________________
Michael Kay
http://www.saxonica.com/
Author, XSLT 2.0 and XPath 2.0 Programmer\'s Reference
 
Old January 21st, 2009, 10:57 AM
Friend of Wrox
 
Join Date: Nov 2007
Posts: 1,243
Thanks: 0
Thanked 245 Times in 244 Posts
Default

As you mention XmlDataSource I guess you want to use ASP.NET and its XmlDataSource control. There is a forum dedicated to that http://forums.asp.net/43.aspx, if you post your XML sample data and your requirements there then you can hopefully get some directions on how to use that control and other ASP.NET controls to find an ASP.NET solution.
__________________
Martin Honnen
Microsoft MVP (XML, Data Platform Development) 2005/04 - 2013/03
My blog





Similar Threads
Thread Thread Starter Forum Replies Last Post
DDL Custom Validator AspNetGuy BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 2 June 6th, 2008 05:17 PM
how can selectedvalue of DDL make other DDL visibl hertendreef ASP.NET 2.0 Professional 4 May 20th, 2008 04:38 PM
DDL error cmw231 ASP.NET 2.0 Basics 2 July 17th, 2006 08:07 AM
Managing RSS with XmlDataSource rit01 ASP.NET 2.0 Professional 1 June 13th, 2006 09:00 AM
select a value from ddl at page load KevinO ASP.NET 1.0 and 1.1 Basics 5 December 29th, 2003 09:00 PM





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