source: draft-ietf-httpbis/latest/abnf2xml2rfc.xslt @ 420

Last change on this file since 420 was 420, checked in by julian.reschke@…, 11 years ago

add code and Makefile rules to generate ABNF appendix sections (related to #36)

File size: 497 bytes
Line 
1<xsl:transform
2  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
3  version="2.0">
4
5<xsl:output method="xml" omit-xml-declaration="yes" indent="yes"/>
6 
7<xsl:param name="abnf"/> 
8 
9<xsl:template match="/">
10  <section title="Collected ABNF" anchor="collected.abnf">
11
12<figure>
13  <artwork type="abnf" name="{$abnf}">
14    <xsl:text>&#10;</xsl:text>
15    <xsl:value-of select="unparsed-text($abnf)"/>
16  </artwork>
17</figure> 
18
19  </section>
20</xsl:template>
21 
22 
23</xsl:transform>
Note: See TracBrowser for help on using the repository browser.