cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frank Rennekamp <>
Subject how to use part of the output of the sql-transformer in the pipeline
Date Mon, 17 Jan 2005 08:24:33 GMT

what I want to do is quite simple: 
I want to select an email address from the database and use this email
as the receiver address in the sendmail module. But how can I access the
value from the xml file?

i have a xml file that comes from a sql-transformer that querries a is the xml file:

<?xml version="1.0" encoding="ISO-8859-1"?>
                <rowset xmlns:sql=""

now i want to use this email address in the pipeline:

<map:match pattern="sendEmail">
  ... SQL - Transformer ...

  <map:act type="sendmail">
    <map:parameter name="smtp-host" value="localhost"/>
    <map:parameter name="from"      value=""/>
    <map:parameter name="subject"   value="Test-Mail"/>
    <map:parameter name="body"      value="Test Text"/>

    <map:parameter name="to"    value="HERE I NEED THE EMAIL ADDRESS"/>


What can I do? Thank you very much for your help!

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message