[
Lists Home |
Date Index |
Thread Index
]
- From: Kay Michael <Michael.Kay@icl.com>
- To: "'Bruce Snyder'" <bsnyder@pengroup.com>, xml-dev <xml-dev@xml.org>
- Date: Thu, 22 Jun 2000 18:59:14 +0100
> I'd like to test the existance of tags in an XML doc when
> processing it with XSLT.
Use <xsl:choose> for the conditional processing, and <xsl:when
test="lastname"> to test if the current node has a child element whose name
is "lastname"; or <xsl:when test="//lastname"> to test if there is a
<lastname> element anywhere in the document.
Mike Kay
***************************************************************************
This is xml-dev, the mailing list for XML developers.
To unsubscribe, mailto:majordomo@xml.org&BODY=unsubscribe%20xml-dev
List archives are available at http://xml.org/archives/xml-dev/
***************************************************************************
|