xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

InString filter in XSL


Subject: InString filter in XSL
From: "Christian Wittern" <chris@xxxxxxxxxxxxxxx>
Date: Thu, 24 Jun 1999 08:24:01 +0800

Hi,

I am struggling with the following problem:

<el att="aa, bb, cc">I want to select this</el>
<el att="bb, cc">Or I want to select this</el>
<el att="aa, cc">Or maybe I want to select this</el>

I want to select nodes based on the value of att: Either those containing
'aa', or 'bb', or 'cc', regardless of the other surrounding values, i.e. if
I check for 'aa', I'd like to get the first and last, in the case of 'bb'
the first and second, etc.

Is there an easy way to do this in XSL?
I am preparing this for IE5, but ideally would like this to stay compatible
with the latest draft.

All the best,

Christian


Dr. Christian Wittern
Chung-Hwa Institute of Buddhist Studies
276, Kuang Ming Road, Peitou 112, Taipei, TAIWAN



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor