Ok, I've taken my first XML course, so I know how to create a simple XML document validate it against a DTD or schema and then display it nicely with either CSS or XSL.
I am now trying my first real world example, and I am finding it very frustrating. Anybody out there try this stuff yet. What I want to do, is create a company phone directory with multiple views. I can create the XML document with everybody's name, extension and department. Now I want to display this to users in a view of their choice. I want to allow a user to view the data sorted by last name, first name or department (with display and printer friendly versions of each for a total of 6 views). HOW! HOW!! HOW!!! Do I do this in XML? This would be (and already is) a fairly simple task in pure CFML. Pass a variable or two into a CFM file and rearrange the data accordingly. But I can not figure out a way to allow a user to choose a different view of the data and rearrange it, without creating separate XML documents for each view and then is what the point of the XML in the first place? I know this a CF list, and while some of you may be using XML I don't know if any of you are experts in and are lurking around here. But, I'm already subscribed to this list, so I vented here first. Now that I'm a little calmer I'll go looking for a good XML discussion list. Any suggestions would be much appreciated. -------------- Ian Skinner Web Programmer BloodSource Sacramento, CA ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=5 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=5 Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.5
