I want to use XSL to convert XML to another XML
The input xml contains the following element
<ViewSideIndicator>0</ViewSideIndicator>
which need to be converted to the following
<ImageViewDetail ViewSideIndicator="Front"/>
in the input file, if the value is "0", then it should be "Front" in the output and if the value is "1", then it should be "Back" in the output
I know that we can use <xsl:choose>
to make the value based on a decision, but i'm not sure how to do it for this case.