OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: help with xslt


> * Jirka Kosek <wvexn@xbfrx.pm> [2008-09-14 10:09:20 +0200]:
>
> Sam Steingold wrote:
>> this takes care of the easy part.
>> the hard part is translating an array of integers #(11 1 2 1 2) to
>> either sec_11-1-2-1-2 or 11_abab.
>
> concat('sec_', translate(substring-before(substring-after('#(11 1 2 1
> 2)', '#('), ')'), ' ', '-'))

cool - this takes care of the old version (sec_11-1-2-1-2).
how about 11_abab?

-- 
Sam Steingold (http://sds.podval.org/) on Fedora release 9 (Sulphur)
http://mideasttruth.com http://iris.org.il http://palestinefacts.org
http://ffii.org http://openvotingconsortium.org http://memri.org
Ph.D. stands for "Phony Doctor"  - Isaak Asimov, Ph.D.



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]