|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: building a tabular format of data
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@xxxxxxxxxxxxx> To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx> Sent: Wednesday, February 13, 2002 6:44 AM Subject: RE: 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Cast Your Vote
We need your help – Vote for DataDirect XML Products!
Winners and finalists announced at SOA World Conference in November. Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|







