This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: building a tabular format of data
- From: "Joerg Heinicke" <joerg dot heinicke at gmx dot de>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Wed, 13 Feb 2002 09:35:28 +0100
- Subject: Re: [xsl] building a tabular format of data
- References: <JFEOIGIPLLGPKNFNNHAPCEKICBAA.seema.r@net-kraft.com>
- Reply-to: xsl-list at lists dot mulberrytech dot com
Sorry, but I don't understand exactly. Do you have already a template for
<reportdetailinfo>? If not, add <xsl:apply-templates
select="reportdetailinfo"/> to your template matching root node '/' at the
place you want this report. If yes, use the mode parameter for
<apply-templates> and <template>:
<xsl:apply-templates select="reportdetailinfo" mode="report"/>
<xsl:template match="reportdetailinfo" mode="report">
<!-- .... -->
</xsl:template>
For more help I need your current stylesheet.
Regards,
Joerg
----- Original Message -----
From: "Seema R" <seema.r@net-kraft.com>
To: <xsl-list@lists.mulberrytech.com>
Sent: Wednesday, February 13, 2002 6:44 AM
Subject: RE: [xsl] building a tabular format of data
> Thanks Joerg,
>
> It works just great by itself. However, in the stylesheet that I am using
I
> have already set
> <xsl:template match="/"> since I have to get values of other nodes before
I
> get to the reportdetailinfo tag.
> I cannot embed the another <xsl:template> ie; <xsl:template
> match="reportdetailinfo"> within this.
>
> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
> version="1.0">
> <xsl:template match="/">
> <html>
> <body>
> <form>
> ...Display some information on patient...
> ... If the report type is textual display accordingly...
> Else
> ... the code as given by you to display tabular format of reports
> </form>
> </body>
> </html>
> </xsl:template>
> </xsl:stylesheet>
>
> Please let me know if there is some way to solve this.
> Thanks,
> Seema.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list