xsl-list
[Top] [All Lists]

Re: [xsl] Select with multiple conditions?

2021-12-08 11:14:53
Thanks so much, everyone, for your explanations.  This is all very helpful!

Michele

From: Wendell Piez wapiez(_at_)wendellpiez(_dot_)com 
<xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com>
Sent: Wednesday, December 8, 2021 11:25 AM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] Select with multiple conditions?

Hi again,

Another footnote is that even in XSLT 1.0 if we can contrive to bind the values 
'collection', 'recordgrp', 'series' and 'subseries' to XML somewhere (for 
example loading them from an example document) we can then say for-each 
select="*[@level=$levels]" where $levels is the set of XML nodes with the given 
values.

This is more or less how we also do it in 2.0 or 3.0 with the benefit of having 
$levels in a more convenient form such as a sequence of strings.

Cheers, Wendell
(by email<>)
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--
<Prev in Thread] Current Thread [Next in Thread>