I know that when I had to use xslt to display some xml that this was easier to show
<phone type="home"> <country>??</country> <citycode><citycode> <area>916</area> <exchange>338</exchange> <number>1234</number> <extension>34</extionsion> </phone> in html format (parsed through xslt) than it was to pick these out... <phone title="Main" number="1234567890" ext="10" type="Mobile"/> just my travels. tony weeg uncertified advanced cold fusion developer tony at navtrak dot net www.navtrak.net office 410.548.2337 fax 410.860.2337 -----Original Message----- From: Ian Skinner [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 13, 2003 3:22 PM To: CF-Talk Subject: RE: XML Best Practices - Resources Or you could do this.... <phone type="home"> <country>??</country> <citycode><citycode> <area>916</area> <exchange>338</exchange> <number>1234</number> <extension>34</extionsion> </phone> I'm not sure about best practices... but I do remember from my XML studies, it depends on what your needs are, and designing the XML document is the real challenge/art. Parsing it afterwards is easy. -------------- Ian Skinner Web Programmer BloodSource Sacramento, CA -----Original Message----- From: Brad Roberts [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 13, 2003 12:09 PM To: CF-Talk Subject: XML Best Practices - Resources What's the best way to store phone numbers in XML? <phone>1234567890</phone> or maybe... <phone title="Main" number="1234567890" ext="10" type="Mobile"/> Is there a standard? Best practice? Does anyone know of resources that would include best practices like this, with examples (not just for phone numbers)? -Brad ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4