ImagoX Extensions
The general process for inserting extension content into a
document is to create an element that will be transformed by an XSLT. The XSLT transform
will execute the extension element. First create an XML document to be transformed.
In the example below we create an Imago namespace that we will use to trigger the XSLT
template.
<?xml version="1.0"?> <document xmlns:imago="http://xenei.org/imago/2002" > <imago:format/> </document> The XSLT will use the Imago extension
org.xenei.imago.extensions.ImagoSystem to get the format the client should received.
Note that the Imago namespace has the same definition as in the XML document.
<?xml version="1.0"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns:xsystem="xalan://org.xenei.imago.extensions.ImagoSystem" xmlns:imago="http://xenei.org/imago/2002" extension-element-prefixes="xsystem " > <xsl:template match="document"> <xsl:apply-templates /> </xsl:template> <xsl:template match="imago:format"> The desired format is <xsystem:format/> </xsl:template> </xsl:stylesheet> Creating an XML document that has a <xsystem:format/>
element will not cause the extension element to execute. ImagoX Counter
ImagoX Counter Extension
is an implementation of a "hit counter". ImagoX Counter can register hits,
report hit totals, or both in a single request. Counter may be configured to use either a
file-based or database-based datastore. Other datastore implementations are possible and
may be plugged-in.
ImagoX Forms
ImagoX Forms Extension
is an implementation of a forms processor. ImagoX Forms is an extensible HTTP GET/POST mechanism
that provides field validation, validation error marking, and is resistant to hack attempts
because Forms ignores valid input and extraneous input fields.
ImagoX Mail
ImagoX Mail Extension
is an implementation of a mail sending mechanism. ImagoX Mail can send email to one or
more "to" or "bcc" addresses, and HTML markup may be included.
|
||
Release Contents
Xenei.org product releases usually provide three (3) different distributions:
Other Information
|