[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] When to use text()

Subject: Re: [xsl] When to use text()
From: Andrew Welch <andrew.j.welch@xxxxxxxxx>
Date: Sun, 23 Mar 2014 08:57:36 +0000

> I wonder also if it's more complete to say
>    test="text()" is true for any non empty text node
> or is there no text node in for example <cat></cat>?

There's no text node, there would be 1 element node possibly with a
document node parent, depending on how it was constructed.

Andrew Welch

Current Thread