Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries [Thread Prev] >Thread Next - Re: apply-templates select and multiple filters apply-templates select and multiple filtersTo: NULL Date: 2/12/2009 11:03:00 PM guys, I'm quite new to this
my xml is this
<div class="user" version="1.0">
<div class="username">
<a href="/People/smnbss.aspx">smnbss</a>
</div>
<div class="books">
<div class="book" id="28109903-0087-9000-0000-000000000000"
KeyNameLink="name1" RelationshipType="10" Rating="5" >
<a href="/Books/name1.aspx">name 1</a>
</div>
<div class="book" id="09406906-0087-9000-0000-000000000000"
KeyNameLink="name2" RelationshipType="1" Rating="5" >
<a href="/Books/name2.aspx">name 2</a>
</div>
</div>
</div>
is it possible to create a an apply-templates that filter by class and
RelationshipType?
something like
<xsl:apply-templates select="//div[@class='book'] and
//div[@RelationshipType='10']"/>
thanks
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
