[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

function text()

Subject: function text()
From: Ursprung Manfred <Manfred.Ursprung@xxxxxxxxxx>
Date: Mon, 15 Oct 2001 17:15:14 +0200
function text
Hi all,

function text() doesn't work right in Xalan (Java) and in Saxon. 
With MSXML3 it works fine, but I need a Java based processor.

My XML-document looks like :
          <token> §1 </token>
        Chapter 1

XSL looks:
<xsl:template match="title" mode="next">
      <fo:table-cell padding-after="4mm" padding-before="4mm">
        <fo:block font-weight="bold">
          <xsl:value-of select="token"/>
        <fo:block font-weight="bold" padding-after="4mm"
          <xsl:value-of select="text()"/>

With MSXML3 I get :  §1 Chapter 1
but with Xalan or Saxon I get only: §1
Using <xsl:value-of select="."/> instead of <xsl:value-of select="text()"/>
I get: 
  §1 §1 Chapter1

Does anyone can help ?

- Manfred

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

Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.