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

Re: [xsl] When to use text()


Subject: Re: [xsl] When to use text()
From: Alex Muir <alex.g.muir@xxxxxxxxx>
Date: Sat, 22 Mar 2014 10:17:17 +0000

On Fri, Mar 21, 2014 at 11:37 AM, Michael Kay <mike@xxxxxxxxxxxx> wrote:
>
>
> > So this leaves the question: when actually use text()?


It might not help people that the context sensitive help description
of the text() function that for example one reads in oxygen is

    "text() as node(). The text node"...

It would prevent misunderstanding if it read something like..

"text() as node(). The sequence of text nodes descending from the
context element. Only use it if you need to process the text node
children and element children of a mixed-content element
individually."



Regards
-- 
-

Alex Muir
http://ca.linkedin.com/pub/alex-muir/36/ab7/125


Current Thread
Keywords