Subject: Re: Determining if the first child is a para element|
From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx>
Date: Fri, 10 Nov 2000 17:10:58 -0500
I've looked at the FAQ which describes how to determine if a node has a single child element, but I need to know if the first child of a node is an element (para, in this case). The test needs to be done in the parent's <template> element, prior to an <apply-templates/>. Is there a straightforward <if> test I can use for this case? Thanks!
-- 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-12-03/04,2001-01-27, - 2000-02-21,2000-03-26,2000-04-06/07