Subject: RE: [xsl] Editing URLs From: "Conal Tuohy" <conalt@xxxxxxxxxxxxxxx> Date: Tue, 29 Apr 2003 11:28:52 +1200 |
Wendell Piez wrote: <snip/> > or, more simply (but not rolled into the identity transform), > > <xsl:template match="a"> > <a href="http://{@href}"> > <xsl:apply-templates select="*"/> > </a> > </xsl:template> ... simpler, but if the <a> elements had any other attributes (e.g. title, target) they would be lost. XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Editing URLs, Wendell Piez | Thread | RE: [xsl] Editing URLs, Conal Tuohy |
Re: [xsl] check parent node, Wendell Piez | Date | Re: [xsl] xml to xml transformation, Jarkko . Moilanen |
Month |