I’m looking for some good suggestions on how to structure my XML driven site. I have 6 main sections (external swfs) and some of those have subsections that need to have content added dynamically. In this type of situation would you normally use one master xml file, or a separate file for each section? Below is an example of my site structure:
home.swf
--- 1 dynamic header textfield
--- 1 dynamic subhead textfield
--- 1 dynamic content textfield
services.swf
--- 1 dynamic header textfield
--- 1 dynaic subhead textfield
--- 3 different labeled frames with a dynamic content textfield on each frame
aboutUs.swf
--- 1 dynamic header textfield
--- 1 dynaic subhead textfield
--- 2 or 3 dynamic content textfields
partners.swf
--- 1 dynamic header textfield
--- 1 dynamic subhead textfield
--- a number of icons representing partners, generated by XML
--- 1 dynamic content textfield to describe partner that is currently rolled over
portfolio.swf
--- 1 dynamic header textfield
--- 1 dynamic subhead textfield
--- 3 categories of portfolio(interactive tv, broadband, more), each using a carousel to display portfolio pieces
caseStudies.swf
--- 1 dynamic header textfield
--- 2 dynamic textfields
so basically, would it be better to load one master xml file to control all content of the site, or should i load a new xml file for each section that is loaded?
Also, I have some experience with XML, but i get a little confused when the structure becomes more complex than 2 or 3 nodes deep. So if anyone could maybe provide an example of how they would structure the XML for this type of setup, I would appreciate it. One thing to consider is that most of the content textfields will need to use CData, as I have no idea what type of characters they would be filled with.
here is the link to the site:
(still in progress: incomplete transitions, some functionality not optimized)