From richfaces-svn-commits at lists.jboss.org Tue May 26 13:09:51 2009 Content-Type: multipart/mixed; boundary="===============5726416346690073803==" MIME-Version: 1.0 From: richfaces-svn-commits at lists.jboss.org To: richfaces-svn-commits at lists.jboss.org Subject: [richfaces-svn-commits] JBoss Rich Faces SVN: r14354 - branches/community/3.3.X/docs/common-resources/en/src/main/xslt. Date: Tue, 26 May 2009 13:02:24 -0400 Message-ID: --===============5726416346690073803== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: artdaw Date: 2009-05-26 13:02:23 -0400 (Tue, 26 May 2009) New Revision: 14354 Modified: branches/community/3.3.X/docs/common-resources/en/src/main/xslt/f.xsl Log: https://jira.jboss.org/jira/browse/RF-7129 - Guide build was fixed and chec= ked on Windows, Linux with Maven 2.0.7 and 2.1.0 Modified: branches/community/3.3.X/docs/common-resources/en/src/main/xslt/f= .xsl =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- branches/community/3.3.X/docs/common-resources/en/src/main/xslt/f.xsl 2= 009-05-26 16:43:55 UTC (rev 14353) +++ branches/community/3.3.X/docs/common-resources/en/src/main/xslt/f.xsl 2= 009-05-26 17:02:23 UTC (rev 14354) @@ -3,20 +3,21 @@ xmlns:javaee=3D"http://java.sun.com/xml/ns/javaee" xmlns:u=3D"http:/jsf.exadel.com/template/util" xmlns:f=3D'http:/jsf.exadel.com/template' - version=3D"1.0" exclude-result-prefixes=3D"javaee"> - + + = = - + = = @@ -53,29 +54,31 @@ = = - + - - + + = + = + + + + + + + + + + + = + =
- - - - - - - - - - + = - + + < <xsl:value-of select=3D"concat($prefix,':', $tag_name)" /> > - = - - - - - - - - - - = - - - = + + + + <xsl:value-of select=3D"$prefix" /> @@ -169,20 +163,27 @@ </tgroup> </table> </xsl:if--> - <xsl:choose> - <xsl:when test=3D"document(concat($lang, $separator, 'included', $sepa= rator, $prefix, '_', $tag_name, '.xml'))"> - <xsl:for-each select=3D"document(concat($lang, $separator,'included',= $separator, $prefix, '_', $tag_name, '.xml'))/*"> - <xsl:copy-of select=3D"./*" /> - </xsl:for-each> - </xsl:when> - <xsl:otherwise> - <xsl:for-each select=3D"document(concat($lang, $separator,'included',= $separator,$tag_name, '.xml'))/*"> - <xsl:copy-of select=3D"./*" /> - </xsl:for-each> - </xsl:otherwise> - </xsl:choose> = - + <xsl:call-template name=3D"fileMerge"> + <xsl:with-param name=3D"tag_name" select=3D"$tag_name" /> + </xsl:call-template> </section> +</xsl:result-document> = </xsl:template> -</xsl:transform> \ No newline at end of file + <xsl:template name=3D"fileMerge" xmlns:file=3D"java.io.File"> + <xsl:param name=3D"filePostfix" select=3D"''"/> + <xsl:param name=3D"tag_name" select=3D"''"/> + <xsl:choose> + <xsl:when test=3D"doc-available(concat($lang, $separator,'included',$se= parator, $prefix, '_', $tag_name, $filePostfix, '.xml'))"> + <xsl:for-each select=3D"document(concat($lang, $separator,'included',$= separator, $prefix, '_', $tag_name, $filePostfix, '.xml'))/*"> + <xsl:copy-of select=3D"./*" /> + </xsl:for-each> + </xsl:when> + <xsl:otherwise> + <xsl:for-each select=3D"document(concat($lang, $separator,'included',$= separator,$tag_name,$filePostfix, '.xml'))/*"> + <xsl:copy-of select=3D"./*" /> + </xsl:for-each> + </xsl:otherwise> + </xsl:choose> + </xsl:template> = +</xsl:transform> --===============5726416346690073803==--