Hey
I am trying to perform a check on individual nodes of an XML file, and depending on the contents of a specific node do something, for example if the type is bool display a checkbox or if the type is text display a textarea or a pull down options box.
For example:
<Questions>
<Question>
<Data>What gender are you?</Data>
<Type>pulldown</Type>
</Question>
<Question>
<Data>Do you like Chocolate?</Data>
<Type>checkbox</Type>
</Question>
</Questions>
Thanks in advance
Im not sure if i should be using xsl:choose/xsl:when
or xsl:if