Subject: Re: When to use text()
From: George Cristian Bina <george@xxxxxxxxxxxxx>
Date: Sun, 23 Mar 2014 09:29:30 +0200
|
Hi Alex,
Thanks for pointing this. We will update the description for text() in
oXygen. I am thinking to use this:
"Selects all text node children of the context node. If used as a node
test, text() is true for any text node."
Best Regards,
George
--
George Cristian Bina
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
On 3/22/14, 12:17 PM, Alex Muir wrote:
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
| Current Thread |
Alex Muir - 22 Mar 2014 10:17:28 -0000
- George Cristian Bina - 23 Mar 2014 07:29:43 -0000 <=
- Alex Muir - 23 Mar 2014 08:34:13 -0000
- Andrew Welch - 23 Mar 2014 08:57:47 -0000
- Michael Kay - 23 Mar 2014 09:31:18 -0000
- Ihe Onwuka - 23 Mar 2014 10:01:29 -0000
|
|