[xslt] Throw error if XPath doesn't match



Hi,

I want to know if it's possible to throw an error if the XPath "foo" of <xsl:value-of select="foobar" /> does not match anything in the source file. For example if the path is an optional element and I want to make sure that the XSL stylesheet only works if the element is given in the source file.

Cheers
Andreas


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]