i have this little problem. I cannot find the way how to find out, where is the error description, when im trying to compile malformed stylesheet. I get only TransformerConfigurationException and from any of its methods or parameters, i cannot get what i need, the message like this:

Error at xsl:template on line 5 of file:/C:/all/aa.xsl:
  Error in _expression_ {/html/body/a[@name='key']/following-sibling::table[1]}: Axis in pattern must
be child or attribute

that tells me where i can find the error. Only thing i can get is

Failed to compile stylesheet. 1 error detected.

Is there any exception that tells me that?

Any help would be appreciated.

Jan Kovařík