Re: what about a working example as part of the hwoto

Stefan Kost <[email protected]>
Newsgroups gmane.text.xml.xslt.extensions
Message-ID <[email protected]>
Hi James,

sorry about all that. Found that out yesterday. Unfortunately an error message 
can never point out that it may just be a stupid typo.

What I wonder is why the xsl files in the str.zip refer to the namespace using
   "xmlns:str="http://exslt.org/Strings"
(upper-case 'S' in strings). Probably to avoid clashes if the xsltprocessor has 
native implementations.

Stefan
> Stefan Kost wrote:
> 
> 
>>hi,
>>
>>the site looks like there as if there are lots of useful functions.
>>Still the how-to lack a full example. E.g. I tried to use the str:split
>>function from the str package and all I get is error messages:
>>
>>$ xsltproc devhelp.xsl devhelp.xml
>>xmlXPathCompOpEval: function split not found 
>> 
>>
> 
> 
> seems clear to me the above error message ?
> 
> the split function is not accessible to your stylesheet.
> 
>                 xmlns:str="http://exstl.org/strings"
> 
> the problem is due to not having the correct namespace URI....can u find
> what is wrong in the above declaration?
> 
> I agree that more documentation always the better, but not sure any
> documentation makes me type more accurately!
> 
> hth, Jim Fuller
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.