My dummy example is like this:
<XML id="tableLayout" src="Table.xsl"></XML>
In my XSL file (Table.xsl) it is basic and looks like:
<TD><xsl:value-of select="id" /></TD>
However, now that I have a conceptual grasp of it, it's time to put it to use and I am having problems. I want to convert some current ASP code to this data island concept. However, I have no idea where to begin when a cell contains an HTML control, like a checkbox, with logic associated with it. Let's pretend that the table column before "ID" would contain a checkbox. For instance, this is an IF statement, which is contained in a Do Loop for each record in the recordset:
If displayStatus ="clearAll" or displayStatus=""Then%>
<input type="checkbox" name="checkbox" value="<%=tmpFileNo%>">
<input type="checkbox" name="checkbox" checked value="<%=tmpFileNo%>" strCanCheckOut="True">
You see above that depending on the value of displayStatus, a checkbox is included in this cell with different properties set..properties set by server variables too. I don't know how to account for this in the XML or XSL. How would I generate the XML for the situation above and how would I account for this in the XSL?
*Please be detailed as possible* because I am very new to this and am struggling a bit. Thanks for your help.