Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Throwing error in for loop >Thread Next - Re: Throwing error in for loop Re: Throwing error in for loopTo: NULL Date: 5/3/2008 1:29:00 PM
Paul Richardson wrote:
> I need my XSL to this tag:
> <xsl:value-of select="error(QName('http://', 'ribproxy'),'ribproxy:
> Non-relevant POSLog message: ($txnType)')"/>
>
> If and Only If none of the LineItems had valid ActionCode tags.
Well you can always check e.g.
<xsl:if test="not(LineItem[ActionCode = 'foo'])">
<xsl:value-of select="error(...)"/>
</xsl:if>
--
Martin Honnen --- MVP XML
http://JavaScript.FAQTs.com/
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
