Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - Re: XSL for removing words less than 4 letters in a sitemap >Thread Next - Re: XSL for removing words less than 4 letters in a sitemap Re: XSL for removing words less than 4 letters in a sitemapTo: NULL Date: 4/3/2008 1:07:00 PM Olagato wrote: >> Do you want to use XSLT 2.0 or 1.0? > I'm using XSLT 1.0 > >> What about words like 'localhost' or 'index', how do you decide that those are not taken? > It's not a problem now. Maybe a sentence like next: > translate( translate( substring-after( sm:loc, 'http://localhost/ > index.php/index.php/') ,'-', ',') ,'/',',') > > I'm trying your XSL from PHP without success: PHP only supports XSLT 1.0 so my posted stylesheet using XSLT and XPath 2.0 functionality does not work with PHP's XSLT processor. -- Martin Honnen http://JavaScript.FAQTs.com/ | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
