Skip to Content
avatar image
Former Member

XSL mapping validation and alert creation

Guys,

I have an XSLT mapping that I would like to cause a failure in based on certain coded conditions in the XSLT, how to cause the mapping to fail in certain conditions, perhaps with a message from the code.

Some like in a purchase order if the PO number is not long enough then raise an alert from XSLT saying "PO NUMBER TO SHORT" and have it fail the message ..

Essentially I want to validate certain parts of the XML in the XSLT and raise alerts ...

Thanks

Thanks

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Dec 08, 2010 at 06:08 AM

    REFER BELOW BLOG

    /people/michal.krawczyk2/blog/2005/11/23/xi-html-e-mails-from-the-receiver-mail-adapter

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 14, 2010 at 12:50 AM

    Thanks for the blog, Michal Krawczyk always has some good things to say.... I was actually looking for

     <xsl:message terminate="yes">I FAILED CAUSE I CANT INTEGRATE !!</xsl:message> 

    and Ill let CCMS take care of the alert stuff.

    Edited by: Richard McArthur on Dec 14, 2010 1:51 AM

    Add comment
    10|10000 characters needed characters exceeded