Apache::AxKit::Provider::File::Syntax - File syntax XML generator


Apache-AxKit-Provider-File-Syntax documentation  | view source Contained in the Apache-AxKit-Provider-File-Syntax distribution.

Index


NAME

Top

Apache::AxKit::Provider::File::Syntax - File syntax XML generator

SYNOPSIS

Top

    AxContentProvider Apache::AxKit::Provider::File::Syntax

DESCRIPTION

Top

This provider processes the requested file and, instead of outputting it verbatim, it marks the file up as XML representing the syntax of the source document. This is very useful for displaying JavaScript, Perl, or other non-XML markup and syntax-colorizing it for display on a website.

EXAMPLE

Top

The following example shows how you can integrate the syntax processing provider with an existing site, without having normal requests

  Alias /syntax/ /path/to/document/root/
  <Location /syntax/>
    SetHandler AxKit
    AxContentProvider Apache::AxKit::Provider::File::Syntax
    AxAddStyleMap text/xsl Apache::AxKit::Language::LibXSLT
  </Location>

BUGS

Top

Probably very many more than listed here, but this is the known list.

SEE ALSO

Top

Text::VimColor


Apache-AxKit-Provider-File-Syntax documentation  | view source Contained in the Apache-AxKit-Provider-File-Syntax distribution.