Jens has a generic XSLT question that could be better answered
elsewhere.

>  <xsl:value-of select="source/p/foo" />
>The foo element doesn't exists and the xslt produces an empty string.
>But what I need is, at least, a message or warning.

Wrap the whole thing in an xsl:choose.
Have a when for the case when it exists:
<xsl:when test="source/p/foo">
In the xsl:otherwise, use xsl:message to issue your message.
.................David Marston

Reply via email to