[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

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


Subject: Re: [xsl] Matching " within a variable as:item()*
From: Martin Honnen <Martin.Honnen@xxxxxx>
Date: Tue, 05 Jan 2010 14:08:25 +0100

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/


Current Thread