| 
 
Subject: [xsl] [XPath] Type of the first child From: Julien Quint <Julien.Quint@xxxxxxx> Date: Tue, 27 Nov 2001 16:21:36 +0100  | 
Hi all, I have an XPath question, really. In a pattern, I want to take a different action if the first child of my element is a text node or an element. I wrote the following predicate, which is to be true if the first child is a text node: not(name(*[1])) It seems to work, but is this correct? Is there a better way to write this? Thanks -- Julien XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread | 
|---|
  | 
| <- Previous | Index | Next -> | 
|---|---|---|
| RE: [xsl] TOC indents in XHTML?, Don Bruey | Thread | Re: [xsl] [XPath] Type of the first, Jörg Heinicke | 
| Re: [xsl] TOC indents in XHTML?, David Carlisle | Date | RE: [xsl] TOC indents in XHTML?, Don Bruey | 
| Month |