RE: Checking node position

Subject: RE: Checking node position
From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx>
Date: Mon, 04 Sep 2000 11:39:15 -0400
At 00/09/04 10:24 +0100, Pawson, David wrote:
<xsl:template match="p[. = $head-types]">
...
It looks OK to me, am I missing something?
 The variable within the predicate I thought was OK?

Although XT accepts the above, it is one of the areas where error checking is not fully implemented.


This threw me for a loop at one point because I was successfully using the above with XT until I learned it was not allowed.

................ Ken

--
G. Ken Holman                    mailto:gkholman@xxxxxxxxxxxxxxxxxxxx
Crane Softwrights Ltd.             http://www.CraneSoftwrights.com/s/
Box 266, Kars, Ontario CANADA K0A-2E0   +1(613)489-0999   (Fax:-0995)
Web site: XSL/XML/DSSSL/SGML services, training, libraries, products.
Book: Practical Transformation Using XSLT and XPath ISBN1-894049-05-5
Article:          What is XSLT? http://www.xml.com/pub/2000/08/holman
Next public instructor-led training:     2000-09-19/20,2000-10-03/05,
-                  2000-10-09/10,2000-10-19,2000-11-06/07,2000-11-12,
-                                            2000-12-03/04,2001-01-27


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread