Re: Question on XML/XSL/PHP/MySQL
| From: | tedd | Date: | Wed, 27 Jan 2010 16:38:00 +0000 |
| Subject: | Re: Question on XML/XSL/PHP/MySQL | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-301561@lists.php.net to get a copy of this message | ||
At 3:39 AM -0800 1/27/10, Ryan Park wrote:
My only reason doing this because I could use XSL as my templating engine; achieve the separation of content, design, and code. But in order to use XSL I need to use XML. XML needs to big if I want to use the data from the huge MySQL database. On 1/27/2010 3:32 AM, Ashley Sheridan wrote:I may be off the mark, but if you want to style data then use css. It doesn't require your data to be in XML format. Cheers, tedd -- ------- http://sperling.com http://ancientstones.com http://earthstones.comOn Wed, 2010-01-27 at 03:31 -0800, Ryan Park wrote:Hypothetically say that I have MySQL with petabytes of data. I want to use XSL as my template language. But in order to use XSL, I need to make XML filled with petabytes of data. This does not sound elaborate way to use XSL/XML; I would rather use PHP/MySQL/Smarty. Is there a way around this so that I can use XSL instead of Smarty?I'm not really sure what you want to achieve here, as all of those languages do quite different things! And I wouldn't ever recommend having a single XML file with petabytes of data, that's just asking for trouble!