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

RE: Selecting the first item from a tokenized string

Subject: RE: Selecting the first item from a tokenized string
From: Sanjukta Mitra <sanmit27@xxxxxxxxx>
Date: Fri, 13 Jan 2006 09:58:10 -0800 (PST)
tokenized string
Thanks a lot, Michael. Appreciate it.

Sanjukta

--- Michael Kay <mike@xxxxxxxxxxxx> wrote:

> Just use exp[1].
> 
> The item-at() function was removed many drafts ago
> because it was redundant:
> you can get the Nth item in a sequence using SEQ[N].
> In the rare cases where
> that's inconvenient because it changes the
> evaluation context, you can use
> subsequence(SEQ, N, 1).
> 
> Michael Kay
> http://www.saxonica.com/ 
> 
> > -----Original Message-----
> > From: Sanjukta Mitra [mailto:sanmit27@xxxxxxxxx] 
> > Sent: 12 January 2006 20:24
> > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> > Subject:  Selecting the first item from a
> tokenized string
> > 
> > Hi,
> > 
> > I am trying to select the first item from a
> tokenized
> > string. I was trying to use the item-at()
> function.But
> > this seems to have been removed from Saxon and
> > possibly also from XSLT 2 . Is there another
> function
> > I could use to do this? Would really appreciate
> any
> > help.
> > 
> > Thanks
> > Sanjukta
> > 
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> > http://mail.yahoo.com 
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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.