This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: getting text nodes of subtree?


<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@Deio.net [mailto:Jakub.Valenta@Deio.net]
Sent: 28 June 2002 11:30
To: XSL-List@lists.mulberrytech.com
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]