Re: [xsl] xsl namespace question

Subject: Re: [xsl] xsl namespace question
From: Steve <subsume@xxxxxxxxx>
Date: Thu, 22 Feb 2007 10:40:50 -0500
Sorry. Here's something more complete:

<xsl:stylesheet version='1.0' xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
	xmlns:msxsl="urn:schemas-microsoft-com:xslt"
	xmlns:str="../../Includes/exslt/functions/tokenize/str.tokenize.msxsl.xsl">
<xsl:import href="../../Includes/exslt/functions/tokenize/str.tokenize.msxsl.xsl"
/>

This produces no error. But if I attempt:

<xsl:value-of select="str:tokenize($var,'x')" />

I get that my xmlns:str contains no functions, which just doesn't seem
right. I've checked the path a million times and if it were wrong, my
xsl:import would choke.

-Steve

On 2/21/07, cknell@xxxxxxxxxx <cknell@xxxxxxxxxx> wrote:
Show us the <xsl:import> element that tells your processor where to find the XSLT files.
--
Charles Knell
cknell@xxxxxxxxxx - email



-----Original Message-----
From:     Steve <subsume@xxxxxxxxx>
Sent:     Wed, 21 Feb 2007 15:09:58 -0500
To:       xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject:  [xsl] xsl namespace question

I am attempting to use EXSLT's str:tokenize('foo', ''), in that format.

At the top of my document I have:

<xsl:stylesheet version='1.0' xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
        xmlns:str="../../Includes/exslt/str.xsl">

I replaced it with the suggestion on the site
(xmlns:str="http://exslt.org/strings";) because I get an error about no
functions being at that location. However, I'm getting the same error.

Although there are no actual functions in that file, it of course
imports several files full of functions. Including the individual page
yielded no results, as well.

Is there something obvious I'm missing? I admittedly have no clear
grasp on namespaces, but reading hasn't yielded anything. Sometimes it
seems its a location, at other times it seems to point to some other
declaration.

-Steve

Current Thread