Altova Mailing List Archives>Archive Index >xsl-list Archive Home >Recent entries >Thread Prev - Re: [xsl] Is it possible to rewrite part of an attribute value with [Thread Next] Re: [xsl] Is it possible to rewrite part of an attribute value withTo: xsl-list@-----.------------.--- Date: 7/20/2009 10:10:00 AM Hi, 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@n...> 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:text>stroke-width</xsl:text> > <xsl:value-of select="substring-after(@style,'stroke-width')"/> > </xsl:attribute> 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. Jonas --~------------------------------------------------------------------ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/ or e-mail: <mailto:xsl-list-unsubscribe@l...> --~-- | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
