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

Re: tokenize function

Subject: Re: tokenize function
From: "M. David Peterson" <m.david@xxxxxxxxxx>
Date: Thu, 10 Jun 2004 05:00:49 -0600
xsl tokenize
Hi Sarra,

What processor are you using for your transformation?  And what are you 
using to validate it?  I must admit I'm not an XMLSpy user myself but unless 
you are using Saxon 7.9.1 as your XSLT processor within the XMLSpy 
environment and XMLSpy is validating the stylesheet against an XSLT 2.0 
compliant schema (doubtful unless you yourself set it up to do so...  I 
don't believe it comes preconfigured to support 2.0 transformations... 
Anybody know different?)

As far as the xsl namespace URI is concerned you should leave it the way it 
is and only change the version attribute value to 2.0.  As a matter of fact 
Michael Kay responded to a similar post a few days ago.  Normally I would 
suggest that you search the archives or FAQ 
(http://www.dpawson.co.uk/xsl/index.html) but this was within reach from my 
inbox so I will just quote it for you (with credit to Michael of course :)

"It is recommended that you set version="2.0" on a stylesheet that is making
use of new 2.0 features, and leave it at "1.0" otherwise.

An XSLT 2.0 processor will handle a stylesheet that specifies "1.0" slightly
differently from one that specifies "2.0" - it will invoke backwards
compatibility mode which gives weaker type checking. However a 2.0 processor
won't prevent a stylesheet using 2.0 features just because it specifies 1.0
in the header.

Michael Kay"

I hope this helps you get things figured out!

Best of luck!

<M:D/>



----- Original Message ----- 
From: "sarra hamdi" <hacker249@xxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Thursday, June 10, 2004 4:23 AM
Subject:  tokenize function


>
> hello,
> I want know how can I use the tokenize function of xslt 2.0,and what 
> namespace must I declare.
> I use xmlspy to validate my xsl file, but I have always an error with the 
> follow line. can you help me to correct it.
> <xsl:value-of select= "fn:tokenize(*/gml:boundedBy/gml:Box/gml:coord, " \ 
> s * " )" />
> Thank you advanced.
>
>
> ____________________________________________________________
> Find what you are looking for with the Lycos Yellow Pages
> http://r.lycos.com/r/yp_emailfooter/http://yellowpages.lycos.com/default.asp?SRC=lycos10
>
> --+------------------------------------------------------------------
> 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@xxxxxxxxxxxxxxxxxxxxxx>
> --+--
> 

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.