[XSL-LIST Mailing List Archive Home]
Re: [xsl] Is it possible to rewrite part of an attribute value with XSL?
Subject: Re: [xsl] Is it possible to rewrite part of an attribute value with XSL?|
From: Jonas Voss <jonas.voss@xxxxxxxxx>
Date: Mon, 20 Jul 2009 10:09:34 +0000
Sorry for the late reply.
Thank you very much for your replies, they helped me a lot!
On Fri, Jul 3, 2009 at 17:36, David Carlisle <davidc@xxxxxxxxx> wrote:
in xslt 1 you haven't got regex but if you know yur input is in a
> certain format something like
> <xsl:attribute name="style">
> <xsl:value-of select="substring-after(@style,'stroke-width')"/>
I ended up using the suggestion above by David Carlisle, which worked, and
have solved the issue I had.
And thanks to Michael Kay, I will describe my question better next time I
ask, which I no doubt will.
Thanks again, very much.