[Castore-commits] indexDocuments.xsl 1.1.2.1 1.1.2.2

Stéphane Bouchet sbouchet at adullact1.hosting.cri74.org
Lun 6 Mar 11:02:44 CET 2006


Update of /cvsroot/castore/castore-core/src/data/indexation
In directory adullact1:/tmp/cvs-serv27803/src/data/indexation

Modified Files:
      Tag: v1_1_branch
	indexDocuments.xsl 
Log Message:
correction bug recherche plein texte 

Index: indexDocuments.xsl
===================================================================
RCS file: /cvsroot/castore/castore-core/src/data/indexation/indexDocuments.xsl,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -C2 -d -r1.1.2.1 -r1.1.2.2
*** indexDocuments.xsl	24 Nov 2005 14:30:15 -0000	1.1.2.1
--- indexDocuments.xsl	6 Mar 2006 10:02:42 -0000	1.1.2.2
***************
*** 1,6 ****
  <?xml version="1.0" encoding="ISO-8859-1"?>
! <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns:castore="http://www.emn.fr/castore/ns">
!   <xsl:output method="xml" indent="yes" encoding="ISO-8859-1" cdata-section-elements="field" version="1.0" omit-xml-declaration="no" media-type="text/html"/>
!   <xsl:template match="/">
      <document>
        <field>
--- 1,8 ----
  <?xml version="1.0" encoding="ISO-8859-1"?>
! <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
!   xmlns:castore="http://www.emn.fr/castore/ns">
!   <xsl:output method="xml" indent="yes" encoding="ISO-8859-1" cdata-section-elements="field"
!     version="1.0" omit-xml-declaration="no" media-type="text/html"/>
!   <xsl:template match="castore:doc">
      <document>
        <field>
***************
*** 13,15 ****
      </document>
    </xsl:template>
! </xsl:stylesheet>
\ No newline at end of file
--- 15,24 ----
      </document>
    </xsl:template>
!   <xsl:template match="castore:doc//*">
!     <xsl:if test="./text()">
!       <xsl:value-of select="."/>
!       <xsl:text> </xsl:text>
!     </xsl:if>
!     <xsl:apply-templates select="./*"/>
!  </xsl:template>
! </xsl:stylesheet>




Plus d'informations sur la liste de diffusion Castore-commits