xsl-list
[Top] [All Lists]

Re: [xsl] Xpath Syntax Issue

2012-06-23 15:41:09
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(_at_)indiana(_dot_)edu>


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>




--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>