[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
RE: test if a node exists...
Subject: RE: test if a node exists... From: "Dudley, Mark" <Mark.Dudley@xxxxxxxxxxxxx> Date: Mon, 17 Jul 2000 13:38:09 -0400 |
try <xsl:if test="name(.)='fr'"> Mark Dudley Xerox, Corp. -----Original Message----- From: Jean de Lavarene [mailto:breux@xxxxxxxxx] Sent: Monday, July 17, 2000 1:25 PM To: xsl-list@xxxxxxxxxxxxxxxx Subject: test if a node exists... Hello everybody, I am trying to test the existance of a node in an XML document like this : XML: <list> <fr/> <gr/> </list> XSL template for list: <xsl:if test="name()=fr"> then do something. If the node fr is a child of list then do something... but this won't work. Any ideas? Jean XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
test if a node exists..., Jean de Lavarene | Thread | RE: test if a node exists..., Kay Michael |
test if a node exists..., Jean de Lavarene | Date | Problem resolving base URI in docum, Edwards, Jayme |
Month |