xsl-list
[Top] [All Lists]

intersection of different node types

2005-04-27 09:28:20
Is it meaningful to take the intersection of a sequence of element nodes
and a sequence attribute nodes, like this:

<xsl:variable
  name="intersection"
  select="a/b intersect c/@d"/>

The intent is to match their string values, so would something like this
be better:

<xsl:variable
  name="intersection"
  select="a/b/text() intersect c/@d/text()"/>

Thanks!
-- 
Kevin Rodgers


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>