xsl-list
[Top] [All Lists]

Re: [xsl] Matching " within a variable as:item()*

2010-01-05 08:09:50
Alex Muir wrote:

I'm for some reason not able to match a string containing a " within
VariableAsItem within an analyze string method in VariableAsElement.


     <xsl:variable name="VariableAsItem" as="item()*">
        <xsl:analyze-string select="." regex="$regex" >

I think you want/need

          <xsl:analyze-string select="." regex="{$regex}" >



--

        Martin Honnen
        http://msmvps.com/blogs/martin_honnen/

--~------------------------------------------------------------------
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(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--