If all your lengths are consistently formatted - they are always digits except for the colon, and there are always exactly two digits after the colon - then the simplest approach would be to strip the colon out and treat the whole thing as one number, e.g.
<xsl:if test="translate(Length, ':', '') > 300">