transformation1Add my vote for this tag xml2Add my vote for this tag create new tag
, view all tags

XML XSL Plugin

Return HTML created from the application of an XSL to some XML


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

Unlike the TWiki:Plugins.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.


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.

Plugin Settings

  • One line description, is shown in the TextFormattingRules topic:
    • Set SHORTDESCRIPTION = 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
    lib/TWiki/Plugins/XmlXslPlugin.pm Plugin Perl module
  • Run the configure script to enable the plugin

Plugin Info

Plugin Author: TWiki:Main.MartinCleaver and friends
Copyright: © 2001 TWiki:Main.MartinCleaver
© 2007-2011 TWiki:TWiki.TWikiContributor
License: GPL (GNU General Public License)
Plugin Version: 2011-02-01
Change History:  
2011-02-01: TWikibug:Item6638: Doc improvements; XHTML fixes; changing TWIKIWEB to SYSTEMWEB -- TWiki:Main.PeterThoeny
2005-03-30: Removed the restriction that only one transformation could be included in a topic. Added css style sheet parameter. Made parameters follow TWiki conventions. -- TWiki:Main.ThomasWeigert
2001-10-26: Initial release -- TWiki:Main.MartinCleaver
CPAN Dependencies: none
Other Dependencies: a browser that supports XML transformations/processing
Perl Version: 5.0
Benchmarks: GoodStyle nn%, FormattedSearch nn%, XmlXslPlugin nn%
Plugin Home: http://TWiki.org/cgi-bin/view/Plugins/XmlXslPlugin
Feedback: http://TWiki.org/cgi-bin/view/Plugins/XmlXslPluginDev
Appraisal: http://TWiki.org/cgi-bin/view/Plugins/XmlXslPluginAppraisal

Related Topics: TWikiPreferences, TWikiPlugins

Topic attachments
I Attachment History Action Size Date Who Comment
Unknown file formatmd5 XmlXslPlugin.md5 r4 r3 r2 r1 manage 0.2 K 2011-02-01 - 19:14 PeterThoeny  
Compressed Zip archivetgz XmlXslPlugin.tgz r4 r3 r2 r1 manage 5.6 K 2011-02-01 - 19:14 PeterThoeny  
Compressed Zip archivezip XmlXslPlugin.zip r5 r4 r3 r2 r1 manage 7.0 K 2011-02-01 - 19:14 PeterThoeny  
Unknown file formatEXT XmlXslPlugin_installer r4 r3 r2 r1 manage 3.4 K 2011-02-01 - 19:14 PeterThoeny  
Edit | Attach | Watch | Print version | History: r17 < r16 < r15 < r14 < r13 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r17 - 2013-10-16 - PeterThoeny
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.