Re: [xsl] Substring a Value

Subject: Re: [xsl] Substring a Value
From: David Carlisle <davidc@xxxxxxxxx>
Date: Mon, 9 Aug 2004 16:00:37 +0100
This list is about XSL (including XSLT it's transformation language)

However you are using:
<xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl";>

this language is a microsoft specific dialect in early vesrsions of
msxml and no longer supported even in microsoft products. Apart from
its name it is almost completely different from XSL.
So the syntax you are looking for in XSL/XPath is, as I gather you
discovered:

substring(2, len(@from)-1)

However I have no idea what that equivalent in wd-xsl is.

Don't use wd-xsl!!!!, it was in msxml2, msxml3 which implemented xslt has
wd-xsl in as a compatibility option and msxml4 doesn't support it at
all. No system other than msxml ever supported this language.

David



________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

Current Thread