Hey, brand new to XSL and XSLT. I've downloaded an evaluation copy of XML
Spy to debug my transformation, but I can't get to frist base.
Can anyone help my get straightened out?
My XSLT is:
<?xml version="1.0"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" />
<xsl:template match="/">
<xsl:for-each select="DataSet_Studio_Appt_Dates/Studio_Appt_Date_Times">
<ItWorked>YEAH</ItWorked> </xsl:for-each>
</xsl:template>
</xsl:stylesheet>
and my abbreviated XML is:
<?xml version="1.0" encoding="utf-8"?>
<DataSet_Studio_Appt_Dates
xmlns="http://www.tempuri.org/DataSet_Studio_Appt_Dates.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.tempuri.org/DataSet_Studio_Appt_Dates.xsd
C:\ARESEA~1\GetStudioApptDates.xsd">
<RequestInfo>
<returncode>1</returncode>
<returnmsg>Success.</returnmsg>
</RequestInfo>
<Studio_Appt_Date_Times>
<bus_unit_id>2405</bus_unit_id>
<sched_date>8/5/2007 12:00:00 AM</sched_date>
<sched_day_text>Sun</sched_day_text>
<sched_time>11:00:00</sched_time>
<time_range_descr>Before Noon</time_range_descr>
</Studio_Appt_Date_Times>
<Studio_Appt_Date_Times>
<bus_unit_id>2405</bus_unit_id>
<sched_date>8/5/2007 12:00:00 AM</sched_date>
<sched_day_text>Sun</sched_day_text>
<sched_time>11:30:00</sched_time>
<time_range_descr>Before Noon</time_range_descr>
</Studio_Appt_Date_Times>
</DataSet_Studio_Appt_Dates>