sdx-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE : [sdx-users] sdx


From: Stefan du Château
Subject: RE : [sdx-users] sdx
Date: Fri, 20 Dec 2002 11:25:45 +0100

Bonjour,

Voici le bout de code:


<xsl:for-each select="LIENSARC/LIENOBJT">

                                
<!-- Affiche les imagettes des objets lies pour architecture-->
                                        <xsl:if test="position() mod 3  = 1">
                                        <tr valign="top"/>
                                </xsl:if>

                                
                                

                                        
<xsl:variable name="valREFL"><xsl:value-of select="@HREF"/></xsl:variable>
<xsl:variable name="valelem">/images/</xsl:variable>
<xsl:variable name="total_fiche" select="document(concat($sdx_get,'get.xsp?id=',$valREFL))" />

<xsl:variable name="path_img_temp"><xsl:value-of  select="$total_fiche//NOTICILL/@ILLUSTRP"/></xsl:variable>



<xsl:variable name="path_img"><xsl:value-of  select="substring($path_img_temp,1)"/></xsl:variable>
                                        
<xsl:variable name="ref_img" select="translate($total_fiche//NOTICILL/@ILLFICNUM,' ','')"/>

                                        
<xsl:variable name="inv_img" select="concat($valelem,$path_img,'/', $ref_img)"/>
<xsl:variable name="maxLong" select="string-length($inv_img)"/>
<xsl:variable name="valeurstr" select="$inv_img"/>

<xsl:variable name="varREFIMG"><xsl:value-of select="@HREF"/></xsl:variable>

<xsl:call-template name="TranformUrl">
<xsl:with-param name="numero" select="1"/>
<xsl:with-param name="liste" select="$valeurstr"/>
<xsl:with-param name="lauobj" select="1"/>

<xsl:with-param name="max" select="$maxLong"/>
<xsl:with-param name="refNotImg" select="$varREFIMG"/>
<xsl:with-param name="tailleImag" select="2"/>
<xsl:with-param name="legende" select="$total_fiche//TICO"/>
</xsl:call-template>
                                
</xsl:for-each>

depuis mon message de detresse j'ai ajouter le port 8080 dans URL et ca fonctionne, est ce un hasard ?

donc la variable $sdx_get contient http://localhost:8080/sdx/bo/ et cela fonctionne? depuis ce matin.
Alors est ce le probléme de timing dans apache ?

At 11:03 20/12/02 +0100, you wrote:
Bonjour,

-----
cela fonctionne mais pas à chaque passage dans la boucle, comme si la
tranformation xslt et affichage de la page se faisait avant recuperation
de document par : <sdx:executeFieldQuery field="ref" valueParam="id"
docs="true"/>, est ce un problème de timing?
-----

Assez étonnant. Peut-on avoir le bout de XSLT pour qu'on puisse
reproduire le phénomène?

XSLT est défini de manière à ce que tout puisse évoluer en parallèle et
donner le même résultat, même si aucun processeur ne le permet. Donc a
priori pas de problème de timing ici. Peut-être SDX qui répond mal
derrière...?

Martin Sévigny



_______________________________________________
sdx-users mailing list
address@hidden
http://mail.nongnu.org/mailman/listinfo/sdx-users

Stefan du Château
Responsable informatique
DRAC Languedoc-Roussillon
tel 04 67 02 32 38
fax 04 67 02 32 04


reply via email to

[Prev in Thread] Current Thread [Next in Thread]