In SX Microcontrollers, SX/B Compiler and SX-Key Tool, awasson wrote:
Interesting...
I developed a document content management system a few years ago that merged the power of databases with XML and provided a method to build web based documents (websites) along wih the ability to add and remove sections and pages. The XML document would provide the site/document structure (sections/chapters + pages) and when it was parsed, depending on the XSL, it would produce a website with sections, pages, etc...
Now, I plan to take it to SourceForge and release an improved version without the requirement of a database. I've come to realize that the database is a bit more of a hinderance rather than a benefit of the system. The schema of my system is very close to the xml skeleton I posted earlier. Really simple to mark up in a text editor. The live versions of the sites use built in tools to manage the site framework as well as rich text editors for content + images.
My XML also uses attributes:
ID - May not be necessary
TITLE - Title of page or section
TEXT - The text used in the navigation of the site
Because I was working with web based display I wanted to also allow the navigation to have the ability to leave the framework and access other pages or sites so in my XSL stylesheet I wrote a template that writes hyperlinks outside if there was a value within the XML tag. ie:
[code]Empty tag:
External link tag: ../some_directory/default.asp?cat=3[/code]
I'll send you some URL's of sites that use my XML if you like and perhaps this will give you something to use.
Cheers,
Andrew
---------- End of Message ----------
You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=86269#m87628
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2005 (http://www.dotNetBB.com)