|
Subject: RE: How to test if the current node is an attribute or a namespac e node? From: Kay Michael <Michael.Kay@xxxxxxx> Date: Mon, 27 Nov 2000 10:37:14 -0000 |
> Which is the simplest XPath expression to test whether the > current node is an attribute? Not easy! I'd suggest: count(. | ../@*) = count(../@*) > > Or a namespace? > count(. | ../namespace::*) = count(../namespace::*) Mike Kay XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| RE: loop?, Kay Michael | Thread | Re: How to test if the current node, Miloslav Nic |
| RE: problems with contain function, Kay Michael | Date | RE: numbering the result tree, Kay Michael |
| Month |