Re: [xsl] Predicates question

Subject: Re: [xsl] Predicates question
From: Martin Honnen <Martin.Honnen@xxxxxx>
Date: Sat, 17 Dec 2011 14:46:15 +0100
Roelof Wobben wrote:

<xsl:apply-templates select="/bookstore/book[position()<3]" />

With XML the '<' character starts a tag, if you want to use it literally you need to escape it as '&lt;' e.g.
<xsl:apply-templates select="/bookstore/book[position() &lt; 3]"/>




--

	Martin Honnen --- MVP Data Platform Development
	http://msmvps.com/blogs/martin_honnen/

Current Thread