The page contains a table of company. The purpose is to test the feed generated using XMLQueryPlugin.

Line Item List

This table contains the list of line items.

Id Company Start End Owner Link
1 IBM 08/15/2008 08/31/2008 Thanh www.ibm.com
2 Yahoo 08/15/2008 12/31/2008 Thanh www.yahoo.com

Other interesting page 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="Sandbox" benchmark="off" debug="on" output="ThanhTestXML"}% <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%

-- Main.ThanhPham - 16 Aug 2008
Topic revision: r2 - 07 Feb 2012 - 17:01:18 - Unknown User
 
Ad Sponsor
Back to Redbourn
Copyright © We make no guarantee of the correctness of the content of this site. All material on this collaboration platform is the property of Martin Cleaver and the contributing authors.