[XSL-LIST Mailing List Archive Home]
RE: Checking node position
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.
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,
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list