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

What to use instead of xsl:value-of

Subject: What to use instead of xsl:value-of
From: "Pankaj Chaturvedi" <pankaj.chaturvedi@xxxxxxxxx>
Date: Tue, 6 May 2008 11:43:29 +0530
 What to use instead of xsl:value-of
Hi all,

I have an element "endnote" which looks like as below. All I am trying to
add a tab between "1." and the rest of the text.

<endnote id="EN0001">1. For a recent review article see
Bahmani&hyphen;Oskooee and Ratha &lpar;<citationref

I have defined the following to get the result but the problem is that
<xsl:value-of> does not give the correct output for child elements/entities
([#x002d], missing <citationref> element etc)  of <endnote>.


<xsl:template match="endnote">
	<xsl:element name="endnote">
		<xsl:copy-of select="@*"/>
		<xsl:value-of select="substring-before(string(.), '. ')"/>
		<xsl:value-of select="substring-after(string(.), '. ')"/>


<endnote aid:pstyle="end_note" id="EN0001">1.	For a recent review article
see Bahmani[#x002d]Oskooee and Ratha (2004).</endnote>

Can some body guide me what I can use instead of "xsl:value-of" to get the
correct output.

Thanks in advance.


Pankaj Chaturvedi


Confidentiality Notice:" This message and any attachment(s)
contained here are information that is confidential, proprietary to
IDS Infotech Ltd. and its customers.
Contents may be privileged or otherwise protected by law. The
information is solely intended for the individual or the entity it
is addressed to. If you are not the intended recipient of this
message, you are not authorized to read, forward, print, retain,
copy or disseminate this message or any part of it. If you have
received this e-mail in error, please notify the sender immediately
by return e-mail and delete it from your computer."

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.