I've scoured the internet to discover this method of finding the number of lines in an xml element.:
<xsl:if test="string-length(@Example) - string-length(translate(@Example, '
', '')) < 10">
In the example above, @Example is the element for which the number of lines is counted. I didn't like this code, however, because it automatically gets turn into this:
<xsl:if test="string-length(@Example) - string-length(translate(@Example, '
', '')) < 10">
You see, the code 

gets turned into a literal blank line (which it represents but I don't want it to be a blank line). That above seems like bad coding style to me(if it isn't, please tell me), so I want an alternate way for finding the number of lines in @Example. Thank you.