xsl-list
[Top] [All Lists]

Re: [xsl] Ignoring a child element

2006-09-07 15:03:08
At 05:19 PM 9/7/2006, David wrote:
depends what you want to test

test="node()[not(self::TLStyle]"

would be false if there is any node (including comments or white space
etc)

test="text()[normalize-space(.)]"
tests if any child text node has non white content

etc

But that's the *easy* way to do it.

I showed you the *creative* way to do it. :-)

Cheers,
Wendell


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