Subject: RE: [xsl] to generate a HOT-LINK in the HTML and FO outputs for all text that matches http://... URL syntax From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Thu, 18 Sep 2003 13:27:16 -0400 |
Write a template for text nodes, which tests if the text contains the string 'http://' and then using XPath string manipulation functions replace the link text with an element that contains the link. Write a recursive one, so that if a single text node contains multiple URLs, all get transformed.
Cheers, Wendell
___&&__&_&___&_&__&&&__&_&__&__&&____&&_&___&__&_&&_____&__&__&&_____&_&&_ "Thus I make my own use of the telegraph, without consulting the directors, like the sparrows, which I perceive use it extensively for a perch." -- Thoreau
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] how to escape backslash a, David Carlisle | Thread | [xsl] How to implement Divide and C, Dipesh Khakhkhar |
Re: [xsl] element selection based o, Mukul Gandhi | Date | RE: [xsl] Critique/comments sought:, Wendell Piez |
Month |