Hello All,

I try to make an authentication�s log with sourceWriter, but it doesn�t 
insert it.
I tried it without replace and reinsert but it doesn�t works?
What do I do wrong?

<xsl:template match="authentication">
  <authentication>
  <xsl:apply-templates/>
  <source:write>
    <source:source><xsl:value-of select="$logfile"/></source:source>
    <source:path>log/entry</source:path>
    <source:replace>logon</source:replace>
    <source:reinsert>logon</source:reinsert>
    <source:fragment>                                                   
      <logon>
         <ID><xsl:value-of select="ID"/></ID>
        <role><xsl:value-of select="role"/></role>
        <firstname><xsl:value-of select="data/firstname"/></firstname>
        <lastname><xsl:value-of select="data/lastname"/></lastname>
        <email><xsl:value-of select="data/email"/></email>
        <date><xsl:value-of select="data/date"/></date>
        <time><xsl:value-of select="data/time"/></time>
        <remote-addr><xsl:value-of select="data/remote-addr"/></remote-addr>
        <remote-host><xsl:value-of select="data/remote-host"/></remote-host>
     </logon>
   </source:fragment>
  </source:write>
</authentication>
</xsl:template>

-- 
thx,
----------------------------------------------------
Zoltan Zidarics programmer
PTE University Pecs, Hungary
icq: 43288694

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to