On Jan 20, 2010, at 9:50 AM, web400-request@xxxxxxxxxxxx wrote:

I think I would have to convert my mysql data to xml first. I'm not too concerned about performance. Its a case of using my XSL skills to do my web site, or relying on my lack of php skills and not doing my website. At the moment, I have php reading from a mysql database and generating HTML. Now I want to generate HTML with XSL/XML. I was wondering if I could mix the two (php and xsl) but maybe that's not possible.



You can certainly mix PHP with XML/XSL/etc. but as others have noted that is not what XSL is about. It is a transformation language XML to HTML, or XML to PDF, or ... Zend have an article here http://devzone.zend.com/article/1302 and there are many others on the web.

Using it for the purpose you describe is equivalent to taking a power drill and using it as a hammer. It might work but it isn't the right tool for the job.

I'm having a problem in understanding what it is in PHP that you think you'll have problems with. Based on my experience with XSL I'd say anyone who can understand that should be able to write PHP with their eyes closed!


Jon Paris

www.Partner400.com
www.SystemiDeveloper.com


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.