xsl-list
[Top] [All Lists]

Re: [xsl] Create a web interface to query a XML database

2009-09-30 13:36:42
Manuel Souto Pico wrote:

Well, I just wanted to let you know what I intend to you, perhaps you
can advice me some way to go. Am I on the right path? Is XSLT/XQuery
easier or better than PHP-MySQL if my data is already in XML format?

XSLT can be used to transform XML to HTML and it can take parameters so you can certainly write an XSLT stylesheet that takes search terms as parameters and then searches and transforms your XML input source into HTML. If you have PHP 5 on the server then it comes with support for running XSLT 1.0 transformations with the help of libxslt I think.

So that approach is possible. Whether it is better in terms of memory consumption and performance on a web server than putting the data in a MySQL database you will have to measure.

--

        Martin Honnen
        http://msmvps.com/blogs/martin_honnen/

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--