xsddoc/src/net/sf/xframe/xsddoc/xslt xml2html.xsl,1.38,1.39

Kurt Riede <[email protected]> Mon, 19 Sep 2005 21:09:09 +0000
Newsgroups gmane.text.xml.xframe.xsddoc.devel
Message-ID <[email protected]>
Update of /cvsroot/xframe/xsddoc/src/net/sf/xframe/xsddoc/xslt
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23989/src/net/sf/xframe/xsddoc/xslt

Modified Files:
	xml2html.xsl 
Log Message:
patch [1228804] Patch to xml2html.xsl to change end-of-sentence matching

Index: xml2html.xsl
===================================================================
RCS file: /cvsroot/xframe/xsddoc/src/net/sf/xframe/xsddoc/xslt/xml2html.xsl,v
retrieving revision 1.38
retrieving revision 1.39
diff -C2 -d -r1.38 -r1.39
*** xml2html.xsl	22 Apr 2005 14:48:49 -0000	1.38
--- xml2html.xsl	19 Sep 2005 21:09:07 -0000	1.39
***************
*** 411,416 ****
      <xsl:variable name="base">
        <xsl:choose>
!         <xsl:when test="contains(@name, '.')">
!           <xsl:value-of select="substring-before(@name, concat('.', @tag))"/>
          </xsl:when>
          <xsl:otherwise>
--- 411,416 ----
      <xsl:variable name="base">
        <xsl:choose>
!         <xsl:when test="contains(normalize-space(@name), '. ')">
! 	  <xsl:value-of select="substring-before(normalize-space(@name), concat('. ', @tag))"/>
          </xsl:when>
          <xsl:otherwise>
***************
*** 1724,1729 ****
      <xsl:param name="rest"/>
      <xsl:choose>
!       <xsl:when test="contains(., '.')">
!         <xsl:value-of select="concat(substring-before(., '.'), '.')"/>
        </xsl:when>
        <xsl:otherwise>
--- 1724,1729 ----
      <xsl:param name="rest"/>
      <xsl:choose>
!       <xsl:when test="contains(normalize-space(), '. ')">
!         <xsl:value-of select="concat(substring-before(normalize-space(), '. '), '.')"/>
        </xsl:when>
        <xsl:otherwise>



-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. 
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php