[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Using contains in but need more specific

Subject: Using contains in but need more specific
From: "Mikael Petterson (KI/EAB)" <mikael.petterson@xxxxxxxxxxxx>
Date: Mon, 21 Nov 2005 19:55:58 +0100
contains
Hi,

I am using the following xsl (xpath):

 <xsl:with-param name="nodes"
select="report/data/all/package[contains(@name,'se.company.iface') or
contains(@name,'se.company.common') or contains(@name,'se.company.pnp') or
contains(@name,'se.company.bcm')]/coverage[@type='block, %']/@value"/>

When I use 'contains' I get a match for both:

 se.company.iface
 se.comapny.iface.pop

However I only want a specific match that is when I write
(@name,'se.company.iface') it is only
se.company.iface and NOT se.comapny.iface.pop

Is it possible to perform this in xsl?

cheers,

//mikael

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.