xsl-list
[Top] [All Lists]

[xsl] Warning: The attribute axis starting at an attribute node will never select anything

2011-10-31 07:58:42
The following line:
<xsl:attribute name="title" select="concat(if (ancestor::Set/@domain eq 'cr') then ........

The code executes the "if/then/else as I expected but produces the warning: "The attribute axis starting at an attribute node will never select anything"

What is the proper way to test the value of "ancestor::Set/@domain" that avoid this warning?
Thanks,
Mark




--~------------------------------------------------------------------
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>