Good Day, Sorry I'm still new in XML-XLST environment. I have a stylesheet and something like have an if-else statement which it will count the characters/string for that attributes if is > 100 it will move to the next line. Is it possible?
Here is the code:
<xsl:value-of select="/Orders/Remark/text()"/></font></td>
Code Updated:
<xsl:if test="string-length(@/Orders/Remark/text() > 100">
<xsl:value-of select="/Orders/Remark/text()"/></font></td>
</xsl:if>
For More Explanation
I really don't know how I will execute this codes, I only really want is
if the of this <xsl:value-of select="/Orders/Remark/text()"/>
if the strings is greater than 100, the exceeded (101 and so on...) strings will be go the next line.
Sample Picture:
This is the output right now that if the remarks string is greater 100.
What I want is something like this if Remarks string is greater 100 the next string will go to the next line.
Thank you.