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

regular expressions in xslt, help

Subject: regular expressions in xslt, help
From: fe.sola@xxxxxxxxxxxxxx
Date: Tue, 11 Nov 2003 17:37:50 -0500
xsl regular expression
Hello all, I'm currently in a project where I need to sue regular expressions, I'm using 
VS.NET and MSXML 4.0, but I have heard it only implements XSL 1.0 so regular expressions 
are not allowed yet (please correct me if I'm wrong). I looked for exslt and downloaded 
the package from the support site but I'm unable to make the transformation. The xsl 
stylesheet looks like this:
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
xmlns:regExp="http://exslt.org/regular-expressions" extension-element-prefixes="regExp">
	<xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>
...

<xsl:template match="/">
		<xsl:apply-templates select="regExp:match(normalize-space(.),'[\w]
+','g')"/>
</xsl:template>

Notice the regular expression used here is not important, I get an error telling me the 
regExp namespace is not found and the function definition is missing.
I have the exslt stylesheets in the same directory of the xsl file.
Any ideas?
Thanks in advance, 
Lizet


-------------------------------------------------
Este mensaje fue enviado usando el servicio de correo en web de Infomed
http://webmail.sld.cu

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


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.