"Fossies" - the Fresh Open Source Software Archive

Member "UNICORE-Client-7.4.1/plugins/org.apache.ant_1.10.3.v20180417-1627/etc/checkstyle/checkstyle-text.xsl" (4 May 2018, 1368 Bytes) of package /windows/misc/UNICORE_Client-7.4.1-win32.win32.x86.zip:

As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) XML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 <?xml version="1.0"?>
    2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
    4 <!--
    5    Licensed to the Apache Software Foundation (ASF) under one or more
    6    contributor license agreements.  See the NOTICE file distributed with
    7    this work for additional information regarding copyright ownership.
    8    The ASF licenses this file to You under the Apache License, Version 2.0
    9    (the "License"); you may not use this file except in compliance with
   10    the License.  You may obtain a copy of the License at
   12        http://www.apache.org/licenses/LICENSE-2.0
   14    Unless required by applicable law or agreed to in writing, software
   15    distributed under the License is distributed on an "AS IS" BASIS,
   16    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   17    See the License for the specific language governing permissions and
   18    limitations under the License.
   19 -->
   21     <xsl:strip-space elements="checkstyle"/>
   22     <xsl:preserve-space elements="file"/>
   23     <xsl:output method="text"/>
   24     <xsl:template match="checkstyle/file/error">
   25         <xsl:value-of select="../@name"/>
   26         <xsl:text>:</xsl:text>
   27         <xsl:value-of select="@line"/>
   28         <xsl:text>:</xsl:text>
   29         <xsl:value-of select="@column"/>
   30         <xsl:text> </xsl:text>
   31         <xsl:value-of select="@message"/>
   32     </xsl:template>
   33 </xsl:stylesheet>