Meaningless Drivel is fun!
The moose likes XML and Related Technologies and the fly likes Need help in XSLT Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Need help in XSLT" Watch "Need help in XSLT" New topic

Need help in XSLT

Tanya Rawat
Ranch Hand

Joined: Jul 23, 2001
Posts: 31
Hi Guys,
I'm posting a silly problem once again. Hope somebody will be able to give me some clue.
I'm posting XML as well as XSL files here with this message. All I need to do is to display Comparison Table for Quarterly Attribute Table differently from others but identifier (xsl:when and condition) doesn't work properly. My program shows all the tables.
There are TemplateNodeIDs on the top and matching all of them with the TemplateNodeIDs of tables in Documents, all three types of tables are compared.
Format of Comparison Quarterly Attribute Table should be like this:
Yr:Attr Name| Doc Title 1 | Doc Title 2
Q1 Attr 1 | Value Q1/Doc1 | Value Q1/Doc2
Q2 Attr 2 | Value Q2/Doc1 | Value Q2/Doc2
Q3 Attr 3 | Value Q3/Doc1 | Value Q3/Doc2
XML file:

Thanks in advance
[This message has been edited by Tanya Rawat (edited September 05, 2001).]
I agree. Here's the link:
subject: Need help in XSLT
jQuery in Action, 3rd edition