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?


Jakub,
<xsl:value-of select = "a"> would give you the content of the element <a>. This would be the text content of <a> text content of all the child elements of <a>..
The above get you aaa bbb ccc BBB AAA
Vasu



From: Jakub.Valenta@Deio.net
Reply-To: xsl-list@lists.mulberrytech.com
To: XSL-List@lists.mulberrytech.com
Subject: [xsl] getting text nodes of subtree?
Date: Fri, 28 Jun 2002 13:29:37 +0300

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



_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com


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]