lfs-profile.xsl 1.4 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <?xml version='1.0' encoding='ISO-8859-1'?>
  2. <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  3. version="1.0">
  4. <!-- Include common profiling stylesheet -->
  5. <xsl:include href="http://docbook.sourceforge.net/release/xsl/1.68.1/profiling/profile-mode.xsl"/>
  6. <!-- Generate DocBook instance with correct DOCTYPE -->
  7. <xsl:output method="xml"
  8. doctype-public="-//OASIS//DTD DocBook XML V4.4//EN"
  9. doctype-system="http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd"/>
  10. <!-- Profiling parameters -->
  11. <xsl:param name="profile.arch" select="''"/>
  12. <xsl:param name="profile.condition" select="''"/>
  13. <xsl:param name="profile.conformance" select="''"/>
  14. <xsl:param name="profile.lang" select="''"/>
  15. <xsl:param name="profile.os" select="''"/>
  16. <xsl:param name="profile.revision" select="''"/>
  17. <xsl:param name="profile.revisionflag" select="''"/>
  18. <xsl:param name="profile.role" select="''"/>
  19. <xsl:param name="profile.security" select="''"/>
  20. <xsl:param name="profile.userlevel" select="''"/>
  21. <xsl:param name="profile.vendor" select="''"/>
  22. <xsl:param name="profile.attribute" select="''"/>
  23. <xsl:param name="profile.value" select="''"/>
  24. <xsl:param name="profile.separator" select="';'"/>
  25. <!-- Call common profiling mode -->
  26. <xsl:template match="/">
  27. <xsl:apply-templates select="." mode="profile"/>
  28. </xsl:template>
  29. </xsl:stylesheet>