xsl-list
[Top] [All Lists]

Re: XSL design question

2003-09-02 16:04:37


2) Why doesn't <xsl:apply-templates select="*[not(descendant::index)]"/>
process all elements except <index> elements?

It selects all children that don't have an index descendent. Isn't that
what you expect?

Yes. I see now. In a moment of high ignorance, I took
*[not(descendant::index)] to mean "All descendants except <index> elements"
Yikes!!! I should do penance for that.





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



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