?login_element?

Subversion Repositories NedoOS

Rev

Rev 145 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

  1. <?xml version='1.0'?>
  2. <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
  3.  
  4. <!-- make the output UTF-8 encoded, the default template insists on "ISO-8859-1", but does
  5. not produce fully valid HTML document, so it fails in modern browsers (which fall back to
  6. UTF-8 in such case) -->
  7. <xsl:output method="html"
  8.             encoding="UTF-8"
  9.             indent="no"/>
  10.  
  11. <!-- add 'lang="en"' to <html> -->
  12. <xsl:template name="root.attributes">
  13.   <xsl:attribute name="lang">en</xsl:attribute>
  14. </xsl:template>
  15.  
  16. <!-- add <!DOCTYPE html> to the beginning of the html file -->
  17. <xsl:template name="user.preroot">
  18.   <xsl:text disable-output-escaping="yes">&lt;!DOCTYPE html&gt;</xsl:text>
  19. </xsl:template>
  20.  
  21. <!-- make IndexTerm items to point directly onto their "anchor" from Index page -->
  22. <xsl:param name="index.links.to.section" select="0"></xsl:param>
  23.  
  24. </xsl:stylesheet>
  25.