Personally, if it couldn�t be broken up into specific sections like simply
Title, Date, Author, Summary, Body, Image(s), etc.. or if you just didn�t
want to do it that way...
I'd use one 'Body' node for that section like...
<NewsItems>
<NewsItem id="1">
<![CDATA[ <div class="newstitle">My News Title</div><div
class="newsdate">May 11, 2005</div><div class="author">Authors
Name</div><br><div class="newsarticle">Some big long news article with
tables, image tags etc... would go here.</div> ]]>
</NewsItem>
</NewsItems>
Then all you would need to do is dump that nodes value out for the entire
news block.
My News Title
May 11, 2005
E. Wok
Some big long news article with tables, image tags etc... would go here.
There are pros and cons for both and im sure one's will outweigh the other
in different scenarios but with the latter you have more control over the
display of the item than you would if you specifically set 'placeholders'
for each individual node.
-----Original Message-----
From: Ian Skinner [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 11, 2005 12:02 PM
To: CF-Talk
Subject: RE: XMLish question
Ewok
Thanks, that's pretty similar to what I was starting with, but different
enough to give me some nice ideas.
So for the content nodes, would you just use established HTML markup for
paragraphs, lists, quotes, things like that?
--------------
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.11.8 - Release Date: 5/10/2005
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking
application. Start tracking and documenting hours spent on a project or with a
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:206410
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54