xsl-list
[Top] [All Lists]

RE: Need advise on filtering XSL

2003-01-28 08:50:09
Jarno,

this is stunning -- it works beautifully! FYI, the $filterstmt variable is of 
the following form and contains dynamic elements, which is why xalan:evaluate 
is used:

(column[((@name='AccountNumber') and (contains(translate('735050C', 
'abcdefghijklmnopqrstuvwxyz','ABCDEFGHIJKLMNOPQRSTUVWXYZ'), translate(text(), 
'abcdefghijklmnopqrstuvwxyz', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'))))])


David,

thanks for your advise and the link to the identity tranform information -- 
very informative.

Again, thank you all very much for your help! And sorry to the list for the 
huge footer that my company appends to my emails.

Jan

-------Jarno wrote:---------

It appears the person who wrote this in the first place didn't know XSLT. 
Anyhow, the following will do the job

[...]

Depending on what the value of $filterstmt is, you maybe be able to write the 
stylesheet without using the xalan:evaluate.

This message is for the named person's use only. It may contain sensitive and 
private proprietary or legally privileged information. No confidentiality or 
privilege is waived or lost by any mistransmission. If you are not the intended 
recipient, please immediately delete it and all copies of it from your system, 
destroy any hard copies of it and notify the sender. You must not, directly or 
indirectly, use, disclose, distribute, print, or copy any part of this message 
if you are not the intended recipient. CREDIT SUISSE GROUP and each legal 
entity in the CREDIT SUISSE FIRST BOSTON or CREDIT SUISSE ASSET MANAGEMENT 
business units of CREDIT SUISSE FIRST BOSTON reserve the right to monitor all 
e-mail communications through its networks. Any views expressed in this message 
are those of the individual sender, except where the message states otherwise 
and the sender is authorized to state them to be the views of any such entity.
Unless otherwise stated, any pricing information given in this message is 
indicative  only, is subject to change and does not constitute an offer to deal 
at any price quoted. Any reference to the terms of executed transactions should 
be treated as  preliminary only and subject to our formal written confirmation.



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