RE: [xsl] few nodes are missing ??

Subject: RE: [xsl] few nodes are missing ??
From: Americo Albuquerque <melinor@xxxxxxx>
Date: Wed, 10 Sep 2003 22:25:34 +0100
Hi

> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx 
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of 
> Dipesh Khakhkhar
> Sent: Monday, September 08, 2003 9:36 PM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: RE: [xsl] few nodes are missing ??
> 
> 
(...)
> 
> You have made properly this for first node i.e. Root. I have 
> made minor change 
> in the xsl here to prepend "RootID" in front of Node1ID since 
> Root and Node1 
> are two different tables in my database.

That stylesheet was based on your output. It would help if you could
provid an example with the two tables. Wich node is the origin of the
second table. In your example you had the table1 repeated

(...)

> My question here is i want to prepend few words after before 
> outputting column 
> names for each table. How do i do that ? Since from this xsl 
> i don't come to 
> know which table is ending where.

The templates that call the table columns are the <xsl:template
match="CLASS" mode="header"> and <xsl:template match="Row">

The header's template uses xsl:apply-templates. Every text you put
before will appear before all columns, every text you put after will
appear after all columns.

The normal template, the one that matches the "Row" element, uses
xsl:for-each. Every text you put before the <xsl:for-each> will appear
before the columns values, every text you put after </xsl:for-each> will
appear after the columns values.

Regards,
Americo Albuquerque

> 
> I hope you will get what I am stuck with.
> 
> Thanks once again for taking out your time for solving this problem.
> 
> Eagerly waiting for reply.
> 
> Regards,
> Dipesh
> 
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 
> 


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread