wood burning stoves 2.0*
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


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Need help in XSLT" Watch "Need help in XSLT" New topic
Author

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:
[table]
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
------------------------------------------[/table]
XML file:


Thanks in advance
[This message has been edited by Tanya Rawat (edited September 05, 2001).]
 
Consider Paul's rocket mass heater.
 
subject: Need help in XSLT