home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2009 June / maximum-cd-2009-06.iso / DiscContents / OOo_3.0.1_Win32Intel_install_wJRE_en-US.exe / openofficeorg1.cab / source.xml.xsl < prev    next >
Encoding:
Extensible Markup Language  |  2008-04-10  |  1.9 KB  |  60 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--*************************************************************************
  3.  *
  4.   DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  5.   
  6.   Copyright 2008 by Sun Microsystems, Inc.
  7.  
  8.   OpenOffice.org - a multi-platform office productivity suite
  9.  
  10.   $RCSfile: header.hxx,v $
  11.  
  12.   $Revision: 1.1 $
  13.  
  14.   This file is part of OpenOffice.org.
  15.  
  16.   OpenOffice.org is free software: you can redistribute it and/or modify
  17.   it under the terms of the GNU Lesser General Public License version 3
  18.   only, as published by the Free Software Foundation.
  19.  
  20.   OpenOffice.org is distributed in the hope that it will be useful,
  21.   but WITHOUT ANY WARRANTY; without even the implied warranty of
  22.   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  23.   GNU Lesser General Public License version 3 for more details
  24.   (a copy is included in the LICENSE file that accompanied this code).
  25.  
  26.   You should have received a copy of the GNU Lesser General Public License
  27.   version 3 along with OpenOffice.org.  If not, see
  28.   <http://www.openoffice.org/license.html>
  29.   for a copy of the LGPLv3 License.
  30.  
  31.  ************************************************************************-->
  32. <!-- =================================
  33.   
  34.   This templates creates a source.xml file
  35.   which is identicall to the source xml tree
  36.   used for the transformation.
  37.   This is may be usefull for deveopement/debuging
  38.   of layouts.
  39.   
  40.   ==================================== -->
  41.  
  42. <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  43.   xmlns:redirect="http://xml.apache.org/xalan/redirect" 
  44.   extension-element-prefixes="redirect">
  45.  
  46.    <xsl:output method="xml"/>
  47.     
  48.  
  49.    <xsl:template  match="/">
  50.              <xsl:apply-templates mode="copy"/>
  51.    </xsl:template>
  52.      
  53.    <xsl:template match="@*|node()" mode="copy">
  54.       <xsl:copy>
  55.          <xsl:apply-templates select="@*|node()" mode="copy"/>
  56.        </xsl:copy>
  57.    </xsl:template>    
  58.     
  59. </xsl:stylesheet>
  60.