Changeset 502 for rfc2629xslt/clean-for-DTD.xslt
- Timestamp:
- 04/03/09 13:20:53 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
rfc2629xslt/clean-for-DTD.xslt
r329 r502 2 2 Strip rfc2629.xslt extensions, generating XML input for MTR's xml2rfc 3 3 4 Copyright (c) 2006-200 8, Julian Reschke (julian.reschke@greenbytes.de)4 Copyright (c) 2006-2009, Julian Reschke (julian.reschke@greenbytes.de) 5 5 All rights reserved. 6 6 … … 210 210 211 211 <xsl:template match="x:dfn" mode="cleanup"> 212 <!-- help xml2rfc to keep dfn and following text on the same page --> 213 <xsl:if test="not(preceding-sibling::x:dfn) and count(following-sibling::list)=1"> 214 <xsl:processing-instruction name="rfc">needLines="4"</xsl:processing-instruction> 215 </xsl:if> 212 216 <xsl:apply-templates mode="cleanup"/> 213 217 </xsl:template>
Note: See TracChangeset
for help on using the changeset viewer.