Subject: RE: [xsl] 50 XSLT Tips and a Quiz From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Tue, 08 Oct 2002 12:58:18 -0400 |
The answer to question 6 is wrong.
It is an error to have two template rules that match the same node. The processor can either signal the error (i.e., fail), or recover by choosing the last one that matches, at implementor discretion. Saxon passes the choice on to the user; by default it outputs a warning message and then takes the recovery action.
Nice quiz, but it's sneaky to put in subtle syntax errors that test your powers of observation rather than your XSLT knowledge. I got 3 wrong.
Cheers, Wendell
====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] 50 XSLT Tips and a Quiz, Michael Kay | Thread | [xsl] Effecient element "filtering", Edward L. Knoll |
RE: [xsl] Getting parameters from a, Maesen, Edward | Date | Re: [xsl] Formated text output, Wendell Piez |
Month |