Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 8608

Assistance with XSL and XML

$
0
0

I successfully am sending a single email through the email adapter using a XSL style sheet.  Requirements have changed and I now will receive instead of a single file that results in a single email the file may contain multiple.  I modified the message mapping changing the target message to 0..unbound.  This generated two higher levels to my layout called Messages and Message1.  I need to modify my XSLT in order to get items to match and I've hit a wall.  When I run the file through via the directory side the emails do not contain any successful mapped information.  I do receive the correct number of emails - unfortunately they are missing data and contain only the hardcoded information in the style sheet.  This tells me that there must be something wrong with the XSL.

 

The source XML is

<?xml version="1.0" encoding="UTF-8"?>

<ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">

<ns0:Message1>

<ns2:ESIS2Mail_824_eMail_MT xmlns:ns2="urn:spiritaero.com:cERP:QTC:ESIS2CERP_824_Invoice_Ack">

<SUBJECT>Constant</SUBJECT>

<FROM>from@email.com</FROM>

<TO>to@email.com</TO>

<MailContent>

<DateSent>Date</DateSent>

<PurposeCode>12Rejection</PurposeCode>

</MailContent>

</ns2:ESIS2Mail_824_eMail_MT>

</ns0:Message1>

</ns0:Messages>

 

The style sheet is

stylesheet.gif

 

As you can see I'm attempting to correct the mapping to the xml and I'm still not correct.  Any assistance is welcomed.

 

Diane


Viewing all articles
Browse latest Browse all 8608

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>