[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Xpath Syntax Issue


Subject: Re: [xsl] Xpath Syntax Issue
From: "John A. Walsh" <jawalsh@xxxxxxxxxxx>
Date: Sat, 23 Jun 2012 16:40:52 -0400

This seems to work: 

<xsl:template match="pets/animal[species[normalize-space(.) = 'fish']]"/> 

-- 
| John A. Walsh
| Assistant Professor, School of Library and Information Science
| Indiana University, 1320 East Tenth Street, Bloomington, IN 47405
| www: <http://www.slis.indiana.edu/faculty/jawalsh/>
| Voice:812-856-0707 Fax:812-856-2062 <mailto:jawalsh@xxxxxxxxxxx>


On Saturday, June 23, 2012 at 3:48 PM, Nathan Tallman wrote:

> <pets>
> <animal>
> <species>fish</species>
> <environment>bowl</environment>
> </animal>
> 
> <animal>
> <species>cat</species>
> <environment>house</environment>
> </animal>
> </pets>


Current Thread