In that case, build the body of the message with XSLT, and extract the elements from the instance that you want to show. For example in an HTML message:

<p>
  This is the first name: <xsl:value-of select="/form/first-name"/>.
</p>

Is that the kind of thing you are trying to achieve?

-Erik

Gregory Blajian wrote:
Erik,

        Using your example (below) how do I reference data (individual
elements) in the instance or text-xforms-instance?  Or is that not
possible under this scheme?  I definitely want the entire attachment but I
want the message to indicate one or two elements from the instance data in
html or plain text for the recipient to read without opening the
attachment.  And as an unrelated question, if I am receiving the user
group responses in digest form is there anyway to reply to a post so that
it stays in the thread?

Greg


Your example:

<!-- Convert the XForms instance into text --> <p:processor name="oxf:xml-converter">
<p:input name="data" href="#instance"/>
<p:input name="config"><config/></p:input>
<p:output name="data" id="text-xforms-instance"/> </p:processor>


<!-- Send email -->
<p:processor name="oxf:email">
<p:input name="data">
...
<body mime-multipart="mixed">
...
<part name="xforms" content-type="application/xml"
content-disposition="inline;
filename=&quot;instance.xml&quot;"
src="oxf:xforms-instance"/>
</body>
...
</p:input>
<p:input name="xforms-instance" href="#text-xforms-instance"/> </p:processor>





------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ orbeon-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/orbeon-user



------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ orbeon-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/orbeon-user

Reply via email to