profile-onechunk.xsl 1.5 KB

123456789101112131415161718192021222324252627282930313233343536
  1. <?xml version="1.0" encoding="ASCII"?>
  2. <!--This file was created automatically by html2xhtml-->
  3. <!--from the HTML stylesheets.-->
  4. <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" xmlns="http://www.w3.org/1999/xhtml" version="1.0" exclude-result-prefixes="doc">
  5. <!-- ********************************************************************
  6. $Id$
  7. ********************************************************************
  8. This file is part of the XSL DocBook Stylesheet distribution.
  9. See ../README or http://docbook.sf.net/release/xsl/current/ for
  10. copyright and other information.
  11. ******************************************************************** -->
  12. <!-- ==================================================================== -->
  13. <xsl:import href="profile-chunk.xsl"/>
  14. <!-- Ok, using the onechunk parameter makes this all work again. -->
  15. <!-- It does have the disadvantage that it only works for documents that have -->
  16. <!-- a root element that is considered a chunk by the chunk.xsl stylesheet. -->
  17. <!-- Ideally, onechunk would let anything be a chunk. But not today. -->
  18. <xsl:param name="onechunk" select="1"/>
  19. <xsl:param name="suppress.navigation">1</xsl:param>
  20. <xsl:template name="href.target.uri">
  21. <xsl:param name="object" select="."/>
  22. <xsl:text>#</xsl:text>
  23. <xsl:call-template name="object.id">
  24. <xsl:with-param name="object" select="$object"/>
  25. </xsl:call-template>
  26. </xsl:template>
  27. </xsl:stylesheet>