[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Character Report Overflow Pages

Subject: Re: Character Report Overflow Pages
From: Matt <puskas.duck@xxxxxxxxx>
Date: Thu, 7 Jun 2007 16:47:35 +0100
Re:  Character Report Overflow Pages
This is the part where someone points out my mistakes ;-)

The only bit I wasn't sure of was your use for the parameter
headerData (i've hardcoded a value)....

<?xml version="1.0" encoding="iso-8859-1" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
 <xsl:output method="html" />
<xsl:template match="/">
 <xsl:apply-templates mode="page" select="/" />
<xsl:template match="/ROWSET/ROW" mode="page">
 <xsl:param name="headerData" />
 <xsl:param name="start" select="1" />
 <xsl:param name="range" select="5" />
 <xsl:param name="end" select="$start + $range" />
 <xsl:apply-templates mode="header" select="HEADERDATA" />
<table border="1">
 <xsl:apply-templates mode="body"
and position() <$end ]" />
<xsl:apply-templates mode="page" select=".">
 <xsl:with-param name="start" select="$end + 1" />
<xsl:template mode="header" match="*">
 <xsl:value-of select="SOC_SEQNO" />
 <xsl:value-of select="ACCOUNT_NO" />
 <xsl:value-of select="SUB_ACCOUNT" />
 <xsl:value-of select="SHORT_NAME" />
 <xsl:value-of select="FORMATTED_ACCOUNT_NO" />
<xsl:template mode="body" match="*">
 <xsl:value-of select="DESCRIPTION" />
 <xsl:value-of select="TRANSACTION_DATE" />

Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.