Hi.
I am writing some xsl to extract attribute details from an xml file and display them.
My problem is I am not getting the output!
The xsl (a section of it) is -
<xsl:for-each select="Option[@correctanswer='true']">
<div id="filename">
<xsl:value-of select="@id" />
</div>
</xsl:for-each>
The xml (a section of it) is -
<Option correctanswer="true" id="Option15">
</Option>
What I expect is to see the attribut, but I do not. Any idea what could cause this?
I am writing some xsl to extract attribute details from an xml file and display them.
My problem is I am not getting the output!
The xsl (a section of it) is -
<xsl:for-each select="Option[@correctanswer='true']">
<div id="filename">
<xsl:value-of select="@id" />
</div>
</xsl:for-each>
The xml (a section of it) is -
<Option correctanswer="true" id="Option15">
</Option>
What I expect is to see the attribut, but I do not. Any idea what could cause this?