--- Kevin Waterson <[EMAIL PROTECTED]> wrote: > This one time, at band camp, > Hardik Doshi <[EMAIL PROTECTED]> wrote: > > > I know how to write XSL style sheet along with XML > > document. But i really dont know what contents > should > > be in XML. If XML contains data (and it is true) > then > > what is the need of MySQL? At last i can say i > don't > > know application of XML and XSL for seperating PHP > and > > HTML code. > > I am putting together a cms as we speak > I use PHP for my logic, and MySQL for dynamic > content storage > I extract info from the db using PEAR sql2xml class > to put > all the info in a XML string and then > use xslt/sablotron to call the xsl template and > render the > page
THe stuff which you are doing with XSLT and XML is pretty same like Smarty template engine? What is the advantage of using XML, XSLT than Smarty template engine? thanks for your nice comments. Hardik > > Kind regards > Kevin > > > -- > ______ > (_____ \ > _____) ) ____ ____ ____ ____ > | ____/ / _ ) / _ | / ___) / _ ) > | | ( (/ / ( ( | |( (___ ( (/ / > |_| \____) \_||_| \____) \____) > Kevin Waterson > Port Macquarie, Australia > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php