Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


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

From: Manuel Souto Pico <m.soutopico@-----.--->
To: xsl-list@-----.------------.---
Date: 10/1/2009 12:28:00 AM
Dear Vyacheslav and Martin,

Thanks a lot for your replies. I don't know what differences there are
exactly between the two versions but everything I've done so far in
XSLT was with version 2.0 (because I had to use for-each-groups, for
example). I wouldn't mind using version 1.0, however.

Martin, is PHP the only way I can create HTML forms to send the
parameters to XSLT? Assuming I use PHP for that, the workflow would be
something like PHP-HTML page with a form to enter the search term,
which is sent to the XSLT stylesheet, which uses it in a if or when
condition to produce a HTML page with the results, is all this
correct? And everything happens on the server-side.

I'm also having a look at the eXist sugggestion by Vyacheslav, thanks
;) It seems that implies using XForms as well as XQuery, but on the
client-side, so your browser needs to have support for XForms
(IExplorer does, but latest version of Firefox does not).

Thanks a lot, I'll keep checking this thread and, if I eventually
manage, will post a summary of my adventure ;)

Cheers, Manuel

2009/9/30 Martin Honnen <Martin.Honnen@g...>:
> 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@l...>
> --~--
>
>

--~------------------------------------------------------------------
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@l...>
--~--



transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent