[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Ideal XML Site tree layout
John Hamman wrote:
Large = IBM.com or Sun.com Medium = Typical College or University site. I would use multiple site 'maps' and break them out into logical units that perhaps reuse some XML configs and all(?) XSL. I have a pretty comprehensive system that includes a slim site.xml that looks like: <site xmlns="http://livestoryboard.com/schemas/lsb" generate="1" label="Home" id="demo_root" css="default.css" xsl="default" name="DEMO" index_page="site_ind"> <page generate="1" label="Welcome" id="site_ind" name="Welcome.html"/> <folder generate="1" label="Destinations" id="f1034364271" onnav="1" name="Destinations" index_page="p1958461133"> <page label="Destinations" id="p1958461133" name="destinations.html" generate="1"/> </folder> <topic label="content_root" id="t339321861" xsl="topics" name="t339321861"> <content label="homepromo" id="c682201793" name="tester.html"/> <content label="placeholder" id="c780459541" name="placeholder.html"/> <content label="right" id="c807589041" name="c807589041.html"/> </topic> </site> I also create a metadata file for each element. For example, here is the the metadata for the page with id site_ind: <md-page xmlns="http://livestoryboard.com/schemas/lsb" status="editorial" created="2004-02-17T12:25:42" modified="2004-03-28T09:52:20" last_mod_by="Iva Koberg"> <title>Welcome </title> <description>This is a demo site that shows off sample setup and commonly used features of liveSTORYBOARD CMS. For more info, visit www.livestoryboard.com.</description> <regions> <region name="wideCol"> <content ref="c682201793"/> </region> <region name="narrowCol"> <content ref="c807589041"/> </region> </regions> </md-page> So you get a site.xml with as little as possible and then put extra (any, I qualify it with a project schema) info in the metdata. best, -Rob
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|