xsl-list
[Top] [All Lists]

Modify XML and pass it to a template

2003-05-14 03:25:05

Hello,
  I would like to modify the XML input and then pass it to a template. Is it 
possible? I want change a value and only after made it, pass the xml to the 
template. I suppose that my xsl will be like the following and in the part of 
????? I must insert the code to modify the content of variable 'contenuto'.

[code xsl]

<xsl:template match="/">
     <xsl:variable name="contenuto">
        <xsl:copy-of select="."/>
     </xsl:variable>

    <xsl:variable name="contenutoModificato">
        ?????
     </xsl:variable>
        
<xsl:call-template name="executeSQLoperation">
        <xsl:with-param name="param1">
        <xsl:copy-of select="$contenutoModificato"/>
        </xsl:with-param> 
</xsl:call-template>

Can someone help me? Thanks.

Kat 


-----------------------------------------------------

Salve, il messaggio che hai ricevuto
è stato inviato per mezzo del sistema
di web mail interfree. Se anche tu vuoi 
una casella di posta free visita il
sito http://club.interfree.it
Ti aspettiamo!

-----------------------------------------------------



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>