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:correction* getting text nodes of subtree?


correction*
<xsl:value-of select = "a"> would give you
aaa


   bbb

     ccc

   BBB

  AAA
and <xsl:value-of select = "normalize-space(a)">
would give you
aaa bbb ccc BBB AAA


From: "Vasu Chakkera" <vasucv@hotmail.com>
Reply-To: xsl-list@lists.mulberrytech.com
To: xsl-list@lists.mulberrytech.com
Subject: Re: [xsl] getting text nodes of subtree?
Date: Fri, 28 Jun 2002 11:08:26 +0000

Jakub,
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



_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail. http://www.hotmail.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]