source: rfc2629xslt/rfc2629toHhp.xslt @ 213

Last change on this file since 213 was 6, checked in by fielding@…, 12 years ago

XSLT stylesheet for enhanced RFC2629 xml2rfc output as HTML.
By Julian Reschke

Obtained from: wget -N http://www.greenbytes.de/tech/webdav/rfc2629xslt.zip

  • Property svn:eol-style set to native
File size: 920 bytes
Line 
1<!--
2    XSLT transformation from RFC2629 XML format to Microsoft HTML Help Project File
3
4    Copyright (c) 2003 Julian F. Reschke (julian.reschke@greenbytes.de)
5
6    placed into the public domain
7
8    change history:
9
10    2003-11-16  julian.reschke@greenbytes.de
11
12    Initial release.
13-->
14
15<xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
16                version="1.0"
17>
18
19<xsl:param name="basename" />
20
21<xsl:output method="text" />
22
23<xsl:template match="/">
24[OPTIONS]
25Compiled File=<xsl:value-of select="$basename" />.chm
26Contents File=<xsl:value-of select="$basename" />.hhc
27<xsl:if test="//iref">
28Index File=<xsl:value-of select="$basename" />.hhk
29</xsl:if>
30Binary TOC=Yes
31Compatibility=1.1 or later
32Display compile progress=No
33Full-text search=Yes
34Language=0x409
35Title=<xsl:value-of select="/rfc/front/title" />
36
37[FILES]
38<xsl:value-of select="$basename" />.html
39&#10;
40</xsl:template>
41
42</xsl:transform>
Note: See TracBrowser for help on using the repository browser.