[richfaces-svn-commits] JBoss Rich Faces SVN: r14744 - branches/community/3.3.X/docs/common-resources/en/src/main/xslt.

richfaces-svn-commits at lists.jboss.org richfaces-svn-commits at lists.jboss.org
Mon Jun 29 11:19:54 EDT 2009


Author: artdaw
Date: 2009-06-29 11:19:54 -0400 (Mon, 29 Jun 2009)
New Revision: 14744

Modified:
   branches/community/3.3.X/docs/common-resources/en/src/main/xslt/f.xsl
   branches/community/3.3.X/docs/common-resources/en/src/main/xslt/xhtml-common.xsl
Log:
https://jira.jboss.org/jira/browse/RF-5525 - adding release versions


Modified: branches/community/3.3.X/docs/common-resources/en/src/main/xslt/f.xsl
===================================================================
--- branches/community/3.3.X/docs/common-resources/en/src/main/xslt/f.xsl	2009-06-29 15:16:23 UTC (rev 14743)
+++ branches/community/3.3.X/docs/common-resources/en/src/main/xslt/f.xsl	2009-06-29 15:19:54 UTC (rev 14744)
@@ -44,7 +44,8 @@
 	
 	<xsl:template match="/f:template/f:verbatim"/-->
 	
-
+	
+	
 	<xsl:template match="javaee:taglib | taglib">
 		<xsl:variable name="excluded-tag-names">
 			header2,header3,header4,header5,header6
@@ -101,16 +102,16 @@
 				<emphasis role="since">
 					<superscript>
 						<xsl:choose>
-							<xsl:when test="document(concat($lang, $separator, 'included', $separator, $prefix, '_', $tag_name, '.desc.xml'))/node()/section/sectioninfo/releaseinfo">
+							<xsl:when test="document(concat($lang, $separator, 'included', $separator, $prefix, '_', $tag_name, '.desc.xml'))/section/sectioninfo/releaseinfo">
 								<xsl:text> available since </xsl:text>
 								<emphasis role="version">
-									<xsl:value-of select="."/>					
+									<xsl:value-of select="document(concat($lang, $separator, 'included', $separator, $prefix, '_', $tag_name, '.desc.xml'))/section/sectioninfo/releaseinfo"/>					
 								</emphasis>
 							</xsl:when>
-							<xsl:when test="document(concat($lang, $separator,'included',$separator,$tag_name, '.desc.xml'))/root/section/sectioninfo/releaseinfo">
+							<xsl:when test="document(concat($lang, $separator,'included',$separator,$tag_name, '.desc.xml'))/section/sectioninfo/releaseinfo">
 								<xsl:text> available since </xsl:text>
 								<emphasis role="version">
-									<xsl:value-of select="."/>					
+									<xsl:value-of select="document(concat($lang, $separator,'included',$separator,$tag_name, '.desc.xml'))/section/sectioninfo/releaseinfo"/>					
 								</emphasis>
 							</xsl:when>
 							<xsl:otherwise>

Modified: branches/community/3.3.X/docs/common-resources/en/src/main/xslt/xhtml-common.xsl
===================================================================
--- branches/community/3.3.X/docs/common-resources/en/src/main/xslt/xhtml-common.xsl	2009-06-29 15:16:23 UTC (rev 14743)
+++ branches/community/3.3.X/docs/common-resources/en/src/main/xslt/xhtml-common.xsl	2009-06-29 15:19:54 UTC (rev 14744)
@@ -171,6 +171,7 @@
 
 <!--xsl:template name="since" match="//emphasis[@role='since']" /-->
 
+<xsl:template match="releaseinfo" mode="titlepage.mode" />
 
 <xsl:template name="head.content">
 	<xsl:param name="node" select="."/>




More information about the richfaces-svn-commits mailing list