Subject:XSL Converting SQL CASE Elements Author:Raymond Szasz Date:19 Apr 2005 08:04 PM
I have an XSLT stylesheet (INTIN CONV.xsl) that converts a CASE statement into the correct element name: SHIP_CODE. The issue is I now have three other CASE statements that need element nameS as well. How can I distinguish each of the CASE elements and apply the correct element names. The XML file is also attached
SEABOURN ITININFO_DATASAMPLE.xml)
CASE (1) SHIP_CODE (this one is OK)
CASE (2) SAIL_DAY
CASE (3) ARRIVAL_TIME
CASE (4) DEPARTURE_TIME
Subject:XSL Converting SQL CASE Elements Author:Raymond Szasz Date:20 Apr 2005 11:49 AM
Song,
Thanks for your reply. I should have mentioned that I am new to XML. I have tried to use the statement you provided, but I cannot get my CASE elements to change.
Can you insert your example into my stylesheet and let me know how I should increment the multiple CASE statements to change the element names.
The first CASE statement in my stylesheet works, but I end up with SHIPC_CODE on all of the remaining CASE elements as well. I just wanted to clarify my issue.