RE: [xsl] apply-template doesn't hit template

Subject: RE: [xsl] apply-template doesn't hit template
From: "Vasu Chakkera" <vasucv@xxxxxxxxxxx>
Date: Tue, 14 Sep 2004 11:48:38 +0100
Well,
An easier approach is to have a good XSLT tool .. That wont let you write
wrong code at the first instance.. This is always a better approach.. I have
seen many XSLT developers who fancy coding using notepad , textpad for some
of their own known reasons.. While this may be ok to get a grip of the
language syntax, you are more unlikely to make Syntax mistakes with a good
tool. It is quite annoying sometimes to see basic syntax errors in the
processor's error list :-)

-----Original Message-----
From: David.Pawson@xxxxxxxxxxx [mailto:David.Pawson@xxxxxxxxxxx]
Sent: 14 September 2004 08:26
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE: [xsl] apply-template doesn't hit template

I've found one of the biggest advantages of Saxon is its
ability to report errors that are easy to 'see'/interpret.
  It saves a lot of work.

DaveP.

    > It of course worked just fine. For a day or two I've been
    trying all
    > different kinds of XPaths, I thought I've lost my mind..
    These kind of
    > bugs are not technically hard to solve, but they simply
    needs another pair of eyes.

    But it shouldn't have needed eyes at all, any reasonable
    xslt system ought to have reported error on line ....
    illegal select attribute on xsl:template or some such error
    and stopped and produced no output.

    Did your system silently accept that and then produce bad output?

    David


    ____________________________________________________________
____________
    This e-mail has been scanned for all viruses by Star. The
    service is powered by MessageLabs. For more information on
    a proactive anti-virus service working around the clock,
    around the globe, visit:
    http://www.star.net.uk
    ____________________________________________________________
____________


--
DISCLAIMER:

NOTICE: The information contained in this email and any attachments is
confidential and may be privileged. If you are not the intended
recipient you should not use, disclose, distribute or copy any of the
content of it or of any attachment; you are requested to notify the
sender immediately of your receipt of the email and then to delete it
and any attachments from your system.

RNIB endeavours to ensure that emails and any attachments generated by
its staff are free from viruses or other contaminants. However, it
cannot accept any responsibility for any  such which are transmitted.
We therefore recommend you scan all attachments.

Please note that the statements and views expressed in this email and
any attachments are those of the author and do not necessarily represent
those of RNIB.

RNIB Registered Charity Number: 226227

Website: http://www.rnib.org.uk

Current Thread