usr/src/java/adr/org/opensolaris/os/adr/adrgen/ADRrmdoc.xsl
changeset 809 8a6fba4105d7
parent 808 2122a04679c0
child 810 9907d0f6f03a
equal deleted inserted replaced
808:2122a04679c0 809:8a6fba4105d7
     1 <?xml version="1.0"?>
       
     2 <!--
       
     3   Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
       
     4   
       
     5   CDDL HEADER START
       
     6   
       
     7    The contents of this file are subject to the terms of the
       
     8    Common Development and Distribution License (the "License").
       
     9    You may not use this file except in compliance with the License.
       
    10   
       
    11    You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
       
    12    or http://www.opensolaris.org/os/licensing.
       
    13    See the License for the specific language governing permissions
       
    14    and limitations under the License.
       
    15   
       
    16    When distributing Covered Code, include this CDDL HEADER in each
       
    17    file and include the License file at usr/src/OPENSOLARIS.LICENSE.
       
    18    If applicable, add the following below this CDDL HEADER, with the
       
    19    fields enclosed by brackets "[]" replaced with your own identifying
       
    20    information: Portions Copyright [yyyy] [name of copyright owner]
       
    21   
       
    22   CDDL HEADER END
       
    23 -->
       
    24 <!-- Strips documentation elements from ADR interface definitions -->
       
    25 <xsl:stylesheet version="1.0" xmlns:adr="http://www.opensolaris.org/ns/adr"
       
    26     xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
       
    27 
       
    28     <xsl:output method="xml" version="1.0" encoding="UTF-8" 
       
    29 	indent="yes" omit-xml-declaration="no" standalone="yes"/>
       
    30     <xsl:strip-space elements="*"/>
       
    31 
       
    32     <!-- identity templates -->
       
    33     <xsl:template match="node()|@*">
       
    34         <xsl:copy>
       
    35             <xsl:apply-templates select="@*|node()"/>
       
    36         </xsl:copy>
       
    37     </xsl:template>
       
    38 
       
    39     <!-- strip out document elements -->
       
    40     <xsl:template match="adr:summary |adr:doc"/>
       
    41 </xsl:stylesheet>