P
Patrick
Hello and please forgive my newbieness,
Say I have one section of xml like this with 3 elements and the
following has 4 elements;
<deploy_info>
<datatype1>ADCP Velocity measurements</datatype1>
<datatype2>ADCP Temperature</datatype2>
<datatype3>ADCP Performance Data</datatype3>
</deploy_info>
<deploy_info>
<datatype1>ADCP Velocity measurements</datatype1>
<datatype2>ADCP Temperature</datatype2>
<datatype3>ADCP Performance Data</datatype3>
<datatype4>Seabird Microcat Data</datatype4>
<deploy_info>
And I have a table like such;
<table>
<tr>
<td><xsl:value-of select="datatype1"/></td>
</tr>
<tr>
<td><xsl:value-of select="datatype2"/></td>
</tr>
<tr>
<td><xsl:value-of select="datatype3"/></td>
</tr>
<tr>
<td><xsl:value-of select="datatype4"/></td>
</tr>
</table>
Assuming I already know how to do the xsl:for-each. How or can I even
tell xsl to not display the <tr> through </tr> for <datatype4> if it is
the first group that is selected for writing?
Thanks for any ideas on this,
Patrick
--
Patrick A. Smith Assistant System Administrator
Ocean Circulation Group – USF - College of Marine Science
http://ocgweb.marine.usf.edu Phone: 727 553-3334
The trouble with doing something right the first time is that nobody
appreciates how difficult it was. - La Rochefoucauld
Say I have one section of xml like this with 3 elements and the
following has 4 elements;
<deploy_info>
<datatype1>ADCP Velocity measurements</datatype1>
<datatype2>ADCP Temperature</datatype2>
<datatype3>ADCP Performance Data</datatype3>
</deploy_info>
<deploy_info>
<datatype1>ADCP Velocity measurements</datatype1>
<datatype2>ADCP Temperature</datatype2>
<datatype3>ADCP Performance Data</datatype3>
<datatype4>Seabird Microcat Data</datatype4>
<deploy_info>
And I have a table like such;
<table>
<tr>
<td><xsl:value-of select="datatype1"/></td>
</tr>
<tr>
<td><xsl:value-of select="datatype2"/></td>
</tr>
<tr>
<td><xsl:value-of select="datatype3"/></td>
</tr>
<tr>
<td><xsl:value-of select="datatype4"/></td>
</tr>
</table>
Assuming I already know how to do the xsl:for-each. How or can I even
tell xsl to not display the <tr> through </tr> for <datatype4> if it is
the first group that is selected for writing?
Thanks for any ideas on this,
Patrick
--
Patrick A. Smith Assistant System Administrator
Ocean Circulation Group – USF - College of Marine Science
http://ocgweb.marine.usf.edu Phone: 727 553-3334
The trouble with doing something right the first time is that nobody
appreciates how difficult it was. - La Rochefoucauld