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

Extract string from CDATA value

Subject: Extract string from CDATA value
From: Sven Waibel <sven.waibel@xxxxxxxx>
Date: Tue, 30 Nov 2004 11:13:04 +0100
cdata extract
Hi,

how can i extract "test" from <value><![CDATA[test]]></value>?

The problem is that i don't know how many <value><![CDATA[test]]></value> there will be, so i can't use variables.
I know that <xsl:value-of select="value" /> works, but i need the result of extraction in my comparison with another
attribute and you can't say: <xsl:if test="@id = <xsl:value-of select="value" />">.

Thanks and best regards
Sven

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

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.
Email
First Name
Last Name
Company
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.