R
RigasMinho
I have an XSL file that grabs objects to form a table from an XML file.
However I only want it to grab certain objects with a certain tag on
them.
For example:
XML file has:
<infoObject>
<infoObjectDetail title='Field'>Test Field</infoObjectDetail>
<infoObjectDetail title='Description'>Test Desc</infoObjectDetail>
<infoObjectDetail title='Object'>Test Object</infoObjectDetail>
<infoObjectDetail title='Source'>Test Source</infoObjectDetail>
</infoObject>
XSL file:
<xsl:for-each select="infoObjectDetail">
<td><xsl:value-of select="." /> </td>
</xsl:for-each>
I want it so that it skips over the field of "Description" and moves
onto the next field.
I've looked for a for loop to do this but havent had any luck.
Any ideas?
However I only want it to grab certain objects with a certain tag on
them.
For example:
XML file has:
<infoObject>
<infoObjectDetail title='Field'>Test Field</infoObjectDetail>
<infoObjectDetail title='Description'>Test Desc</infoObjectDetail>
<infoObjectDetail title='Object'>Test Object</infoObjectDetail>
<infoObjectDetail title='Source'>Test Source</infoObjectDetail>
</infoObject>
XSL file:
<xsl:for-each select="infoObjectDetail">
<td><xsl:value-of select="." /> </td>
</xsl:for-each>
I want it so that it skips over the field of "Description" and moves
onto the next field.
I've looked for a for loop to do this but havent had any luck.
Any ideas?