Just because I like a certain format, doesn't mean it's the best way to do
it.

A good analogy is how data is stored in a database.  Sure, I can store a
persons full name in one field of my db, but it's better to store first,
middle, and last names separately.

So, I'm wondering if there are "Best Practices" when storing certain types
of info (credit cards, phone numbers, currency, etc.) in XML.

-Brad

> -----Original Message-----
> From: Bryan F. Hogan [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, August 13, 2003 3:17 PM
> To: CF-Talk
> Subject: RE: XML Best Practices - Resources
>
>
> Since XML is extensible it's up to you to create a format that you like.
> Whatever is easiest for you as long as you stick to the rules of XML. To
> learn more about the rules of XML. Check out the W3C site or
> http://www.w3schools.com/ for an overview.
>
> -----Original Message-----
> From: Brad Roberts [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, August 13, 2003 3: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

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to