Subversion Repositories svn LFS-FR


Blame | Last modification | View Log | RSS feed

<?xml version='1.0' encoding='ISO-8859-1'?>


<xsl:stylesheet xmlns:xsl=""

  <!-- Stylesheet to create profiled XML output.
      Replaces {docbook-xsl}/profiling/profile.xsl -->

  <!-- Include common profiling stylesheet -->
  <xsl:import href="docbook-xsl-snapshot/profiling/profile-mode.xsl"/>

    <!-- This file must be included, because profile-mode is using
        templates from it -->
  <xsl:import href="docbook-xsl-snapshot/common/stripns.xsl"/>

    <!-- In the two pass processing there is no need for base URI fixup -->
  <xsl:param name="profile.baseuri.fixup" select="false()"/>

  <!-- Generate DocBook instance with correct DOCTYPE -->
  <xsl:output method="xml"
             doctype-public="-//OASIS//DTD DocBook XML V4.5//EN"

  <!-- Profiling parameters:
        profile.separator changed from ";" to "," to let it work
        at command line. -->
  <xsl:param name="profile.arch" select="''"/>
  <xsl:param name="profile.audience" select="''"/>
  <xsl:param name="profile.condition" select="''"/>
  <xsl:param name="profile.conformance" select="''"/>
  <xsl:param name="profile.lang" select="''"/>
  <xsl:param name="profile.os" select="''"/>
  <xsl:param name="profile.revision" select="''"/>
  <xsl:param name="profile.revisionflag" select="''"/>
  <xsl:param name="profile.role" select="''"/>
  <xsl:param name="" select="''"/>
  <xsl:param name="profile.status" select="''"/>
  <xsl:param name="profile.userlevel" select="''"/>
  <xsl:param name="profile.vendor" select="''"/>
  <xsl:param name="profile.wordsize" select="''"/>
  <xsl:param name="profile.attribute" select="''"/>
  <xsl:param name="profile.value" select="''"/>
  <xsl:param name="profile.separator" select="','"/>

  <!-- Call common profiling mode -->
  <xsl:template match="/">
    <xsl:apply-templates select="." mode="profile"/>