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

Tokenizing and special characters

Subject: Tokenizing and special characters
From: <michella@xxxxxxx>
Date: Mon, 13 Dec 2004 15:33:40 +0100
tokenizing
Hello,

My XML Data contains in several text fields the following sequence
"+++", which should indicate me I have to insert a newline.

To achieve this, I use the following tokenize function :

<xsl:for-each
select="tokenize(SAProperty[@SAPrpName='Description']/@SAPrpValue,'+++')
[string(.)]">
		<fo:block>
				<xsl:value-of select="."/>
		</fo:block>
</xsl:for-each>

Here is the error message I get :

  net.sf.saxon.type.RegexTranslator$RegexSyntaxException: Error at
character 0 in regular expression: expected end of string
Failed to compile stylesheet. 1 error detected.

(The error points to this part of code)

Any help would be greatful :-)

Regards

Lawrence Michel

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.