probably my own stupidity or ignorance at the time, but it was very easy
to show elements that were their own "tag pairs" versus attributes of a
single tag.

why, I forget :( sorry, but maybe someone could show us the difference.

of how, in xslt you would reference the data in the one versus the
other, maybe
it was just my own ignorance, but for some reason, most of the xml that
I have ever
seen has been tag-pairs, versus attributes of one tag.
sorry I don't know why, it was like 8 months ago....

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: Brad Roberts [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, August 13, 2003 3:46 PM
To: CF-Talk
Subject: RE: XML Best Practices - Resources


Can you elaborate on why?  I've not done any xslt transformations.  Is
it because of the way you have to reference attributes?

-Brad

> -----Original Message-----
> From: Tony Weeg [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, August 13, 2003 3:32 PM
> To: CF-Talk
> Subject: RE: XML Best Practices - Resources
>
>
> 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

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