Tags:
create new tag
, view all tags
This page contains a sample table. Using XMLQueryPlugin, one can output a XML feed from this page. The XMl feed can be used to create mashup using IBM Mashup Center.

Sample Table

Title Author
Early Israel and the Surrounding Nations Sayce, Archibald Henry
Early Kings of Norway Carlyle, Thomas
Early Letters of George Wm. Curtis Cooke, George Willis
Early Letters of George Wm. Curtis Curtis, George William
The Early Life of Mark Rutherford (W. Hale White) Rutherford, Mark
Early Plays Catiline, the Warrior's Barrow, Olaf Liljekrans Ibsen, Henrik
Early Plays Catiline, the Warrior's Barrow, Olaf Liljekrans Orbeck, Anders
The Early Poems of Alfred Lord Tennyson Collins, John Churton
The Early Poems of Alfred Lord Tennyson Tennyson, Alfred Lord
Early Short Fiction of Edith Wharton Audio Book Wharton, Edith
The Parenticide Club Bierce, Ambrose
The Parent's Assistant Edgeworth, Maria
Paris as It Was and as It Is Blagdon, Francis W.
The Parish Clerk (1907) Ditchfield, P. H. (Peter Hampson)
Parish Papers Macleod, Norman
The Parish Register Crabbe, George

Other interesting pages on this Wiki

The XML output

This link is the XML output of this table. One can use the link as input to Mashup Center to create a XML feed. The debug option is turn ON - you can also see the input XML below.

%XSLTSTART{id="Plugins" benchmark="off" debug="on" output="XmlQueryPluginRecipe8XML"}% <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:set="http://exslt.org/sets" extension-element-prefixes="set">

<xsl:for-each select="set:distinct(/twiki/web/topic/data/tables/table/row[position()>1])"> <xsl:for-each select="field"> <<xsl:value-of select="../../row[position()=1]/field[position()=$current-position]"/>><xsl:value-of select="."/></<xsl:value-of select="../../row[position()=1]/field[position()=$current-position]"/>> </xsl:for-each> </xsl:for-each>

%XSLTEND%

-- ThanhPham - 16 Aug 2008

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2008-08-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-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.