xsl-list
[Top] [All Lists]

Re: [xsl] xsl namespace question

2007-02-22 08:42:14
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(_at_)onebox(_dot_)com <cknell(_at_)onebox(_dot_)com> wrote:
Show us the <xsl:import> element that tells your processor where to find the 
XSLT files.
--
Charles Knell
cknell(_at_)onebox(_dot_)com - email



-----Original Message-----
From:     Steve <subsume(_at_)gmail(_dot_)com>
Sent:     Wed, 21 Feb 2007 15:09:58 -0500
To:       xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--




--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--