hi folks,

today i installed axkit on debian/apache.

is it possible to generate dynamic xml pages not with xsp, perhaps with simple 
mod_perl pages? the reason is, that these dynamic pages will call functions, which 
already serves plain xml, when i realize this in an xsp page, it will be translated to 
<mynode>. here is an example, how i think this may be work:

my Lala.pm (mod_perl)

#!/usr/bin/perl -w
package Apache::Lala;
use strict;
use Apache::Constants qw(:common);
use XML::Writer;
sub handler {
  my $r = shift;
 
        my $writer = new XML::Writer(OUTPUT => $r);
           $writer->pi('xml-stylesheet', 'href="lala.xsl" type="text/xsl"');
         $writer->startTag("greeting",
                           "class" => "simple");
         $writer->characters("Hello, world!");
         $writer->endTag("greeting");
         $writer->end();
                                        
  return OK;
}
1;

then in any way it should be so that axkit transform this with the given xslt 
stylesheet and print it out. i think i must configure something in httpd.conf, but i 
have absolutly no idea how can i do this.

thanks in advance for any ideas

happy coding, bart


-- 
BARTLOMIEJ M. FRACKIEWICZ
systementwickler
inity - agentur fuer neue medien gmbh 
birkenstrasse 71                              
40233 duesseldorf

telefon: 0211-99199-0
fax: 0211-99199-10
e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to