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

RE: [xsl] getting text nodes of subtree?


Subject: RE: [xsl] getting text nodes of subtree?
From: "Andrew Welch" <awelch@xxxxxxxxxxxxxxx>
Date: Fri, 28 Jun 2002 11:58:40 +0100

<xsl:value-of select="a"/>

will give you a concatenated string of all the text() nodes of its
children

...for once a required use!

cheers
andrew

-----Original Message-----
From: Jakub.Valenta@xxxxxxxx [mailto:Jakub.Valenta@xxxxxxxx]
Sent: 28 June 2002 11:30
To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx
Subject: [xsl] getting text nodes of subtree?


Hi all,
how can I get string which contains text nodes of all children of given
element?

for example what will return

<a>
  aaa
  <b>
    bbb
    <c>
      ccc
    </c>
    BBB
  </b>
  AAA
</a>

aaabbbcccBBBAAA

br,

Jakub


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list





---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.350 / Virus Database: 196 - Release Date: 17/04/2002
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.350 / Virus Database: 196 - Release Date: 17/04/2002
 

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread