pretrim.xsl revision b93889871ef8513dd6bb00a0f05bfb7df326a21b
456de5f26ad346749963525a4f91883e6a51c5f3gryzor Licensed to the Apache Software Foundation (ASF) under one or more
456de5f26ad346749963525a4f91883e6a51c5f3gryzor contributor license agreements. See the NOTICE file distributed with
456de5f26ad346749963525a4f91883e6a51c5f3gryzor this work for additional information regarding copyright ownership.
456de5f26ad346749963525a4f91883e6a51c5f3gryzor The ASF licenses this file to You under the Apache License, Version 2.0
96ad5d81ee4a2cc66a4ae19893efc8aa6d06fae7jailletc (the "License"); you may not use this file except in compliance with
456de5f26ad346749963525a4f91883e6a51c5f3gryzor the License. You may obtain a copy of the License at
456de5f26ad346749963525a4f91883e6a51c5f3gryzor Unless required by applicable law or agreed to in writing, software
456de5f26ad346749963525a4f91883e6a51c5f3gryzor distributed under the License is distributed on an "AS IS" BASIS,
456de5f26ad346749963525a4f91883e6a51c5f3gryzor WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
456de5f26ad346749963525a4f91883e6a51c5f3gryzor See the License for the specific language governing permissions and
456de5f26ad346749963525a4f91883e6a51c5f3gryzor limitations under the License.
456de5f26ad346749963525a4f91883e6a51c5f3gryzor<!-- load utility snippets -->
456de5f26ad346749963525a4f91883e6a51c5f3gryzor<!-- strip empty lines at the beginning -->
456de5f26ad346749963525a4f91883e6a51c5f3gryzor <xsl:with-param name="string" select="substring-before($string, substring(normalize-space($string), 1, 1))" />
456de5f26ad346749963525a4f91883e6a51c5f3gryzor 1 + string-length($lspace)
456de5f26ad346749963525a4f91883e6a51c5f3gryzor - string-length(substring-before($lspace, '
')),
456de5f26ad346749963525a4f91883e6a51c5f3gryzor string-length($string)
456de5f26ad346749963525a4f91883e6a51c5f3gryzor<!-- strip whitespace at the end -->
456de5f26ad346749963525a4f91883e6a51c5f3gryzor 1 + string-length(substring-before(
456de5f26ad346749963525a4f91883e6a51c5f3gryzor $rev, substring(normalize-space($rev), 1, 1)
456de5f26ad346749963525a4f91883e6a51c5f3gryzor string-length($rev)