Subject: Re: [xsl] how to test if a child node have a specific name? From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> Date: Fri, 28 May 2004 10:03:23 -0400 |
Thanks for you advise. But I still have a question. I think the following expresstion is correct.<xsl:if test="name(child::node()[1])='NodeName'"> ... </xsl:if>
And as I am a new beginner of XSLT, I am confused what's the difference between the term Node and Element, Can you kindly explain it to me ? Thanks.
-- Public courses: Spring 2004 world tour of hands-on XSL instruction Next: 3-day XSLT/XPath; 2-day XSL-FO - Birmingham, UK June 14,2004
World-wide on-site corporate, govt. & user group XML/XSL training. 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 (F:-0995) Male Breast Cancer Awareness http://www.CraneSoftwrights.com/s/bc Legal business disclaimers: http://www.CraneSoftwrights.com/legal
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] how to test if a child no, Chen Yi | Thread | Re: [xsl] how to test if a child no, Chen Yi |
Re: [xsl] NEED good information on , David Carlisle | Date | Re: [xsl] Performance Question: Exp, Eliot Kimber |
Month |