Description |
If event matches Condition convert the XML document in FieldName with the XSLT Command and place the result into FieldName. |
|
|
Comments |
If either FieldName or Command is missing, blank or invalid, do nothing. |
<filter objectId="xsltCommand" type="XSLTConversionCommandFilter"> <parameter autoSetDescription="true" comments="Add comments for Condition..." description="Match all Events" type="Condition"> <negatePrimaryCondition>false</negatePrimaryCondition> <conditionRelation>All</conditionRelation> </parameter> <parameter type="FieldName">ev:rss.xml</parameter> <parameter type="Command"> <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/> <!-- simply copy the message to the result tree --> <xsl:template match="/"> <xsl:for-each select="rss/channel/item"> <event> <item.title> <xsl:value-of select="title"/> </item.title> <item.link> <xsl:value-of select="link"/> </item.link> <item.desc> <xsl:value-of select="description"/> </item.desc> </event> </xsl:for-each> </xsl:template> </xsl:stylesheet> </parameter> <parameter type="FieldName">ev:events</parameter> </filter>