Subject: RE: RE: RE: [xsl] Question about send_email - separator for multiple recipients - need help!!!!! From: cknell@xxxxxxxxxx Date: Tue, 01 May 2007 13:24:39 -0400 |
We probably don't need the whole stylesheet. We may, but probably not. Send the entire template, a fragment of which you sent earlier. Send a representative (but abbreviated input document) unless the entire input document is rather small. Does your process require more than one stylesheet (XSL file)? Or, are you referring to the input document and the stylesheet when you say "both stylesheets"? -- Charles Knell cknell@xxxxxxxxxx - email -----Original Message----- From: Shirley Gasch <sgasch@xxxxxxxxxxxxxxxxxxxxx> Sent: Tue, 1 May 2007 13:04:20 -0400 To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: RE: RE: [xsl] Question about send_email - separator for multiple recipients - need help!!!!! Hi, I attempted to attach xsl files to my reply, but the email was refused. Do you know the format that would not be refused? I didn't want to put both stylesheets in the reply. Shirley >This appears to be a fragment of your stylesheet. It ends with two >closing tags (</xsl:when> >and </xsl:choose>) that have no matching opening tags. > >Please send the entire template so we can see the context. > >You haven't shown us an example of the XML that this stylesheet >fragment is designed to process. > >We don't know what kind of output you are expecting (e.g., XML, text). > >We don't know what the current output looks like. > >You've taken the first step, now give us everything we need to help you. >-- >Charles Knell >cknell@xxxxxxxxxx - email > > > >-----Original Message----- >From: Shirley Gasch <sgasch@xxxxxxxxxxxxxxxxxxxxx> >Sent: Tue, 1 May 2007 10:19:07 -0400 >To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx >Subject: RE: [xsl] Question about send_email - separator for >multiple recipients - need help!!!!! > >Here is my XML/XSLT: > > <form method="post" name="EccrPrint"><xsl:attribute >name="action">FrezMod.xsl</xsl:attribute> > <input type="hidden" name="-db" value="WebWaivers"/> > <input type="hidden" name="-lay" value="Normal"/> > <input type="hidden" name="-token.error" >value="record_detail_error.xsl"/> > <input type="hidden" name="-script" value="SetupEmailNewWaiver"/> > > <input type="hidden" name="-recid" value="{$default-record/@recid}"/> > > > > <xsl:variable name="record" >select="/fmrs:fmresultset/fmrs:resultset/fmrs:record[1]"/> > <xsl:variable name="toemail" >select="$record/fmrs:field[@name= 'MMEmail']/fmrs:data[1]"/> > <xsl:variable name="emailWaivbody" >select="$record/fmrs:field[@name= 'CreateWaiver']/fmrs:data[1]"/> > <xsl:variable name="subject" >select="$record/fmrs:field[@name= 'NewWaiverSubj']/fmrs:data[1]"/> > > > > <xsl:variable name="emailreturn" >select="fmxslt:send_email(concat($toemail,'?from=sgasch@xxxxxxxxxxxxxxxxxxxxx&cc=sgasch@xxxxxxx&subject=',$subject),$emailWaivbody)"/> > <xsl:value-of select="fmxslt:check_error_status()"/> > <script type="text/javascript">this.window.close();</script> > <xsl:choose> > <xsl:when test="$emailreturn = true()"> > <p>E-mail 1 has been sent.</p> > </xsl:when> > <xsl:otherwise> > <p>E-mail error 1.</p> > </xsl:otherwise> > </xsl:choose> > </form></xsl:when></xsl:choose> > >I am using a Filemaker Pro Extension Function (fmxslt), but the >documentation is so bad that there are no details about the >individual fields. Between Filemaker 6 and Filemaker 7/8, the >functionality to send mail was moved from scripts inside Filemaker >(where a separator of ";" worked) to XSLT reply pages. > >What happens when I attempt to send an email with multiple recipients >is that I get an error message about the "To Field". > >Hope this helps to explain what is happening. > >Shirley Gasch > >>XML (and by extension XSLT) has no concept of "field". >>"send_email" is not related to XSLT. >> >>Try doing the standard things to get a useful answer on this list. >> >>1) Show a relevant sample of your XML input. >>2) Show the XSLT you are using that doesn't do what you want. >>3) Show the output you want. >>4) Show the output you are getting. >> >>-- >>Charles Knell >>cknell@xxxxxxxxxx - email >> >> >> >>-----Original Message----- >>From: Shirley Gasch <sgasch@xxxxxxxxxxxxxxxxxxxxx> >>Sent: Tue, 1 May 2007 09:58:24 -0400 >>To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx> >>Subject: [xsl] Question about send_email - separator for multiple >>recipients - need help!!!!! >> >>Hi Everyone, >> >>When I use just one recipient's email address in the "To Field", >>send_email works. However, when I put in more than one, it fails. I >>believe that the problem is in tthe separator that I used in between >>the email addresses. I tried each of the following, but none worked: >> >>; >>: >>carriage return >>, >>space >> >>I am using XSLT stylesheet and XML Version 1.0 with Filemaker Pro 7, >>but I don't believe that it is a Filemaker Issue. > > >>Please help!!!!! >> >>Shirley Gasch >>-- >>Shirley Gasch Phone: (301) 794-2164 >>Computer Sciences Corporation Fax: (301) 794-8355 >>7700 Hubble Drive, Rm N384 >>Lanham/Seabrook, Md. 20706 email: sgasch@xxxxxxx > >-- >Shirley Gasch Phone: (301) 794-2164 >Computer Sciences Corporation Fax: (301) 794-8355 >7700 Hubble Drive, Rm N384 >Lanham/Seabrook, Md. 20706 email: sgasch@xxxxxxx -- Shirley Gasch Phone: (301) 794-2164 Computer Sciences Corporation Fax: (301) 794-8355 7700 Hubble Drive, Rm N384 Lanham/Seabrook, Md. 20706 email: sgasch@xxxxxxx
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: RE: [xsl] Question about send_e, Rashmi Rubdi | Thread | RE: [xsl] disable-output-encoding w, Robert Capasso |
Re: [xsl] xsl-t on Mac, Saxon prefe, Abel Braaksma | Date | Re: [xsl] xsl-t on Mac, Saxon prefe, Rashmi Rubdi |
Month |