- Add a cvs:keyword element to store the $FreeBSD$ keyword for later
processing - Date is now obtained from cvs:keyword, so no need for the sed magic Approved by: doceng (implicit)
This commit is contained in:
parent
5f86a171af
commit
d7f1fde5eb
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/projects/sgml2xml/; revision=39321
1319 changed files with 6617 additions and 2654 deletions
|
@ -5,10 +5,16 @@
|
|||
|
||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
|
||||
xmlns:cvs="http://www.FreeBSD.org/XML/CVS"
|
||||
xmlns:xhtml="http://www.w3.org/1999/xhtml">
|
||||
xmlns:xhtml="http://www.w3.org/1999/xhtml"
|
||||
xmlns:str="http://exslt.org/strings"
|
||||
extension-element-prefixes="str">
|
||||
|
||||
<xsl:variable name="svnKeyword">
|
||||
<xsl:value-of select="//cvs:keyword[1]"/>
|
||||
</xsl:variable>
|
||||
|
||||
<xsl:variable name="date">
|
||||
<xsl:value-of select="//cvs:keyword[@name='freebsd']"/>
|
||||
<xsl:value-of select="str:split($svnKeyword, ' ')[4]"/>
|
||||
</xsl:variable>
|
||||
|
||||
<xsl:variable name="title">
|
||||
|
|
|
@ -44,6 +44,13 @@
|
|||
xmlns CDATA #IMPLIED"
|
||||
>
|
||||
|
||||
<!-- Subversion keyword tag -->
|
||||
<!ELEMENT cvs:keyword (#PCDATA)>
|
||||
<!ATTLIST cvs:keyword xmlns CDATA #IMPLIED>
|
||||
<!ATTLIST cvs:keyword xmlns:cvs CDATA #IMPLIED>
|
||||
|
||||
<!ENTITY % head.misc "(cvs:keyword|script|style|meta|link|object|isindex)*">
|
||||
|
||||
<!ENTITY % html.orig PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
%html.orig;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue