Hi, I'm currently in the process of shifting my company over from MSXML to Xalan. As part of this, some of them have (annoyingly) written stylesheets including VBspit. Most of these are easily replaced, but one of the things that they tried to do is thus:
> The one thing javascript / vb access in xslt is/was handy for is regular > expressions. > > For instance, I have something which returns some HTML as an extract from > a doc: > > <value><![CDATA[<h1>bla bla bla</h1><p>new stuff</p>]]</value> > > I want to display this, but without all the HTML tags, so I use a regexp > to strip them out. > > It would be cute if we could do: > > <xsl:value-of select="regexp(/value,'</*[^>]*>','gi','')"/> Not sure that this is a particularly robust HTML parser :-), but I get the idea of what they are trying to do. Is there any similar extension in Xalan (or some standard XSLT I've missed - I'm not overly familiar with it!). Thanks, Mark
