Subject: Re: [xsl] When to use text() From: Andrew Welch <andrew.j.welch@xxxxxxxxx> Date: Fri, 21 Mar 2014 15:32:10 +0000 |
On 21 March 2014 15:22, Ihe Onwuka <ihe.onwuka@xxxxxxxxx> wrote: > text()..... as in text()...... not text() interleaved with comment nodes. > > On Fri, Mar 21, 2014 at 3:10 PM, Martin Holmes <mholmes@xxxxxxx> wrote: >> On 14-03-21 08:03 AM, Ihe Onwuka wrote: >>> >>> On Fri, Mar 21, 2014 at 2:20 PM, Wendell Piez <wapiez@xxxxxxxxxxxxxxx> >>> wrote: >>>> >>>> Hi, >>>> >>>> To gloss Mike ... >>>> >>>> Yes, text() is over-used and commonly misused. >>>> >>> >>> I wouldn't be blaming the programmers for that. >>> >>> When you step back, it is clear from all the explanations given, that >>> the thing doesn't do what it says on the tin. >> >> >> What exactly do you think it says on the tin? element() returns the element nodes attribute() returns the attribute nodes text() returns the text nodes node() returns all the nodes etc xslt deals with nodes in a tree -- Andrew Welch http://andrewjwelch.com
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] When to use text(), Ihe Onwuka | Thread | Re: [xsl] When to use text(), David Sewell |
Re: [xsl] When to use text(), Ihe Onwuka | Date | Re: [xsl] When to use text(), Ihe Onwuka |
Month |