[Dspace-tech] Encoding URLs in Manakin

2007-11-07 Thread Dorothea Salo
Hi, all, If I can divert a tiny bit of attention from the testathon... I'm trying to make author names on item-display pages clickable. The URL pattern for this is browse-author-items?author= plus the author's URL-encoded name -- which is the problem, as there doesn't seem to be any easy XSLT way

Re: [Dspace-tech] Encoding URLs in Manakin

2007-11-07 Thread Graham Triggs
Dorothea Salo wrote: Hi, all, If I can divert a tiny bit of attention from the testathon... I'm trying to make author names on item-display pages clickable. The URL pattern for this is browse-author-items?author= plus the author's URL-encoded name -- which is the problem, as there doesn't

Re: [Dspace-tech] Encoding URLs in Manakin

2007-11-07 Thread Scott Phillips
I can add two things,first to reiterate graham point and then to add we're not by default using xstl 2.0 in manakin, just to keep things simpiler. However if your theme needs 2.0 it is not hard to add it. We should probably create the cocoon definition for it and include the library as a

Re: [Dspace-tech] Encoding URLs in Manakin

2007-11-07 Thread Conal Tuohy
Dorothea, as others have mentioned, you can either use Saxon as your XPath processor (which implements XSLT 2 and therefore includes the XPath function fn:escape-html-uri http://www.w3.org/TR/xpath-functions/#func-escape-html-uri To do this, you need to configure Saxon as an XSLT processor in