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

RE: [xsl] select more than one value of element 'package' attribute 'name'


Subject: RE: [xsl] select more than one value of element 'package' attribute 'name'
From: "Mikael Petterson (KI/EAB)" <mikael.petterson@xxxxxxxxxxxx>
Date: Thu, 1 Sep 2005 15:39:46 +0200

What is the difference between 'matching' and 'selecting'?

cheers,

//mikael


-----Original Message-----
From: David Carlisle [mailto:davidc@xxxxxxxxx]
Sent: den 1 september 2005 15:12
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [xsl] select more than one value of element 'package'
attribute 'name'



> I am matching:

selecting actually (it's best to distinguish between XPath expressions
(used to select nodes) and XSLT Patterns (use for matching). Patterns
look like a subset of XPath, and in some ways that's what they are, but
they are actually specified by a completely separate grammar.

I guess you want to change
[contains(@name,'se.company.product.subsys.boam.mao.alarm')]
to

[contains(@name,'se.company.product.subsys.boam.mao.alarm')
or
 contains(@name,'sse.company.product.subsys.rbs.boam.mao.event)]

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________


Current Thread
Keywords