home *** CD-ROM | disk | FTP | other *** search
/ Internet Magazine 2003 October / INTERNET108.ISO / pc / software / windows / building / xmlspy / xmlspyentcomplete5.exe / Data1.cab / _B2D42B7B7BDF4B1B87AB41B1BD97980A < prev    next >
Encoding:
Extensible Markup Language  |  2002-09-04  |  1.1 KB  |  24 lines

  1. <?xml version="1.0" encoding="US-ASCII"?>
  2. <!--This file was created automatically by xml2profile-->
  3. <!--from the DocBook XSL stylesheets. Do not edit this file.-->
  4. <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" xmlns:exslt="http://exslt.org/common" exslt:dummy="dummy" extension-element-prefixes="exslt" version="1.0" exclude-result-prefixes="doc exslt">
  5.  
  6. <xsl:import href="chunk.xsl"/>
  7.  
  8. <!-- Ok, using the onechunk parameter makes this all work again. -->
  9. <!-- It does have the disadvantage that it only works for documents that have -->
  10. <!-- a root element that is considered a chunk by the chunk.xsl stylesheet. -->
  11. <!-- Ideally, onechunk would let anything be a chunk. But not today. -->
  12.  
  13. <xsl:param name="onechunk" select="1"/>
  14.  
  15. <xsl:template name="href.target.uri">
  16.   <xsl:param name="object" select="."/>
  17.   <xsl:text>#</xsl:text>
  18.   <xsl:call-template name="object.id">
  19.     <xsl:with-param name="object" select="$object"/>
  20.   </xsl:call-template>
  21. </xsl:template>
  22.  
  23. </xsl:stylesheet>
  24.