Altova Mailing List Archives>Archive Index >xsl-list Archive Home >Recent entries >Thread Prev - RE: [xsl] Element selection based on different overlapping descendant subsets [Thread Next] Re: [xsl] Element selection based on different overlapping descendant subsetsTo: Date: 2/2/2006 5:55:00 PM At 05:03 AM 2/2/2006, David wrote: Is there a shortcut for the predicate of $d in the above so that I could e.g. have a series of sequence variables defined <xsl:variable name="Mlist" select="'ROW', 'CELL', 'A',..." /> <xsl:when test="every $d in .//* satisfies local-name($d)=$Mlist" Or: <xsl:variable name="Mnodes" select="//ROW | //CELL | //A ..."/> <xsl:when test="every $d in .//* satisfies exists($d intersect $Mnodes)"/> (Is there a more concise way to do this? How would it compare in terms of efficiency?) Cheers, Wendell ====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ====================================================================== | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
