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 This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4