Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Separating Attribute Sting [Thread Next] Re: Separating Attribute StingTo: NULL Date: 2/8/2008 2:06:00 PM conorgaff@g... wrote: > I have an attribute string that I want to select but seperate at the > same time. > > So something like: > > <something stuff="_aaaaaa _bbbbbb _ccccc"> > > I need to select each string starting with '_' and there could be one > to many sub-strings. With XSLT 2.0 you can use e.g. something/@stuff/tokenize(., '\s+') with XSLT 1.0 you need to write a named recursive template that splits the string or you need to use an extension function. -- Martin Honnen --- MVP XML http://JavaScript.FAQTs.com/ | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
