Revision: 17270
                            
                                                            
                                    
                                        
Initial Code
                                    
                                    
                                                            
                                    
                                        
Initial URL
                                    
                                    
                                
                                                            
                                    
                                        
Initial Description
                                    
                                    
                                                            
                                    
                                        
Initial Title
                                    
                                    
                                                            
                                    
                                        
Initial Tags
                                    
                                    
                                
                                                            
                                    
                                        
Initial Language
                                    
                                    
                                                    
                        at August 29, 2009 20:12 by mustam
                            
                            Initial Code
<xsl:template match="foo"> <xsl:choose> <xsl:when test="contains(., 'http://')"> <xsl:value-of select="substring-before(., 'http://')"/> <a><xsl:attribute name="href">http://<xsl:value-of select="substring-after(., 'http://')"/></xsl:attribute>http://<xsl:value-of select="substring-after(., 'http://')"/></a> </xsl:when> <xsl:otherwise><xsl:value-of select="."/></xsl:otherwise> </xsl:choose> </xsl:template>
Initial URL
Initial Description
For *foo* node, if the node includes URL, link it. e.g. *before*: <code><foo>bar http://example.com</foo></code> *after*: <code>bar <a href="http://example.com">http://example.com</a></code>
Initial Title
Link URL address of the text's tail in text nodes of xml file
Initial Tags
Initial Language
XSLT