r12 - 22 May 2007 - 03:31:02 - WillNorrisYou are here: TWiki >  Plugins Web > XmlXslPlugin
Tags:
transformation 1 Add my vote for this tag, xml 1 Add my vote for this tag, , create new tag

Xml Xsl Plugin

The plugin is used to return HTML containing an XML dataisland which, when processed by the browser, will show the XSL applied to the XML.

Unlike the SablotronPlugin which does the transformation at the server, the XmlXslPlugin does the transformation on the browser.

Syntax Rules

This has one directives to invoke this plugin.

  • %XMLXSLTRANSFORM{...}%

Parameter Comment Default
xml xml source text (none)
xsl xsl source text (none)
css css source text (none)
id identifier (must begin with a letter) ""

The xml source, xsl source, and css source parameters may be TWiki topic names or urls.

XmlXslPlugin Settings

  • One line description, is shown in the TextFormattingRules topic:
    • Set SHORTDESCRIPTION = This plugin can be used to return HTML created from the application of an XSL to some XML.
  • Debug plugin: (See output in data/debug.txt)
    • Set DEBUG = 0

Plugin Installation Instructions

Note: You do not need to install anything on the browser to use this Plugin. The following instructions are for the administrator who installs the plugin on the server where TWiki is running.

  • Download the ZIP file from the Plugin web (see below)
  • Unzip XmlXslPlugin.zip in your twiki installation directory. Content:
    File: Description:
    data/TWiki/XmlXslPlugin.txt Plugin topic
    data/TWiki/XmlXslPlugin.txt,v Plugin topic repository
    lib/TWiki/Plugins/XmlXslPlugin.pm Plugin Perl module
  • (Dakar) Visit configure in your TWiki installation, and enable the plugin in the {Plugins} section.

Plugin Info

Plugin Author: TWiki:Main.MartinCleaver and friends
Plugin Version: 30 Mar 2005
Change History:  
30 Mar 2005 Removed the restriction that only one transformation could be included in a topic. Added css style sheet parameter. Made parameters follow TWiki conventions. Thomas Weigert
26 Oct 2001 Initial release Martin Cleaver
CPAN Dependencies: none
Other Dependencies: a browser that supports XML transformations/processing
Perl Version: 5.0
Plugin Home: http://TWiki.org/cgi-bin/view/Plugins/XmlXslPlugin
Feedback: http://TWiki.org/cgi-bin/view/Plugins/XmlXslPluginDev

Related Topics: TWikiPreferences, TWikiPlugins

-- TWiki:Main.ThomasWeigert - 30 Mar 2005

Topic attachments
I Attachment Action Size Date Who Comment
elsemd5 XmlXslPlugin.md5 manage 0.2 K 22 May 2007 - 03:30 WillNorris  
ziptgz XmlXslPlugin.tgz manage 13.9 K 22 May 2007 - 03:30 WillNorris  
zipzip XmlXslPlugin.zip manage 24.2 K 22 May 2007 - 03:29 WillNorris  
elseEXT XmlXslPlugin_installer manage 29.5 K 22 May 2007 - 03:30 WillNorris  
Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r12 < r11 < r10 < r9 < r8 | More topic actions
 
Powered by TWiki
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback SourceForge.net Logo