Re: about Rev XML libs and XSLT files...
--- Sivakatirswami [EMAIL PROTECTED] wrote: On Apr 30, 2005, at 1:27 PM, Andre Garzia wrote: Hi Folks, trying not to reinvent the wheel here, can RevXML library transform a given XML using a XSLT file or I'll have to write code for that (or maybe shell to some tool who can..) cheers andre I'm wondering where you would need this, since most browsers to the job already as a matter of course... Sivakatirswami One reason to do it within your application is data security : if you display the XML in a browser, and refer to an XSL, you can hide certain data -- but if the user picks 'View the source' in his browser menus, he can see the entire XML file. Another reason to include XSL support is that it allows for context-management server applications: the programmer just delivers the XML, and the CGI-script (or Rev-built web-server) applies an XSL transformation to deliver for GPRS, WAP, PDA,... Yes it's more work for your server or your application if it's done beforehand, but it has its advantages. Jan Schenkel. Quartam - Tools for Revolution http://www.quartam.com = As we grow older, we grow both wiser and more foolish at the same time. (La Rochefoucauld) __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: about Rev XML libs and XSLT files...
On May 2, 2005, at 2:09 PM, Jan Schenkel wrote: I'm wondering where you would need this, since most browsers to the job already as a matter of course... Sivakatirswami One reason to do it within your application is data security : if you display the XML in a browser, and refer to an XSL, you can hide certain data -- but if the user picks 'View the source' in his browser menus, he can see the entire XML file. Another reason to include XSL support is that it allows for context-management server applications: the programmer just delivers the XML, and the CGI-script (or Rev-built web-server) applies an XSL transformation to deliver for GPRS, WAP, PDA,... Yes it's more work for your server or your application if it's done beforehand, but it has its advantages. Jan Schenkel. Sivakatirswami, I am looking into this because by pre-processing the XML/XSLT files, we can trust that even people using odd platfoms (symbian based smartphones, ZetaOS, etc...) will be able to see the HTML files. Also because I am thinking of ditching my own template engine in RevHTTPd in favor of XML/XSLT, thats why wanted to know if I could force the transformation on the Rev side. if the Rev Team could expose the XSLT functions, then I'd be good to go, if it can't well, I can always create shell scripts and hook them with shell(). Cheers andre -- Andre Alves Garzia 2004 BRAZIL http://studio.soapdog.org ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: about Rev XML libs and XSLT files...
Hi Andre, I looked into using XSLT a couple of years ago to do XML - XHTML transformations for Hemingway, and found the whole thing alarmingly slow, not to mention extremeley difficult to program and debug. Much faster to do it in PHP or ASP or even [probably] Transcript. Perhaps things have changed. -Chipp Andre Garzia wrote: I am looking into this because by pre-processing the XML/XSLT files, we can trust that even people using odd platfoms (symbian based smartphones, ZetaOS, etc...) will be able to see the HTML files. Also because I am thinking of ditching my own template engine in RevHTTPd in favor of XML/XSLT, thats why wanted to know if I could force the transformation on the Rev side. ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: about Rev XML libs and XSLT files...
--- Chipp Walters [EMAIL PROTECTED] wrote: Hi Andre, I looked into using XSLT a couple of years ago to do XML - XHTML transformations for Hemingway, and found the whole thing alarmingly slow, not to mention extremeley difficult to program and debug. Much faster to do it in PHP or ASP or even [probably] Transcript. Perhaps things have changed. -Chipp Ah, but then you have to manually craft a script for each XML transformation -- and XSLT is generic and can be done by someone who knows hardly anything about programming. We use it at work to dynamically create custom user interfaces for an in-house web server that is built in Progress -- my colleagues know hardly anything about XSL, but they know enough XML to produce valid XML data from the database queries. Jan Schenkel. Quartam - Tools for Revolution http://www.quartam.com = As we grow older, we grow both wiser and more foolish at the same time. (La Rochefoucauld) __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: about Rev XML libs and XSLT files...
--- Andre Garzia [EMAIL PROTECTED] wrote: Hi Folks, trying not to reinvent the wheel here, can RevXML library transform a given XML using a XSLT file or I'll have to write code for that (or maybe shell to some tool who can..) cheers andre Hi Andre, At some point I was told that the library that Revolution uses for XML, also provides for XSL transformations -- however, it would take quite some time to implement and fine-tune these library calls. I'm not sure there is a bugzilla enty, if not I'll certainly vote for it, as I'm going to need more XML-features in the future. Jan Schenkel. Quartam - Tools for Revolution http://www.quartam.com = As we grow older, we grow both wiser and more foolish at the same time. (La Rochefoucauld) __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
about Rev XML libs and XSLT files...
Hi Folks, trying not to reinvent the wheel here, can RevXML library transform a given XML using a XSLT file or I'll have to write code for that (or maybe shell to some tool who can..) cheers andre -- Andre Alves Garzia 2004 Soap Dog Studios - BRAZIL http://studio.soapdog.org ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution