Subject: Re: [xsl] Matching " within a variable as:item()* From: Alex Muir <alex.g.muir@xxxxxxxxx> Date: Tue, 5 Jan 2010 13:19:21 +0000 |
Hi, I added the $regex variable rather than paste a specific regex. But the VariableAsItem is working fine to get the text I require. It's the analyze-string method within VariableAsElement which is not matching on the double quotes within the VariableAsItem text. if I remove the double quotes in the match it works fine. On Tue, Jan 5, 2010 at 1:08 PM, Martin Honnen <Martin.Honnen@xxxxxx> wrote: > 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/ > > -- Alex https://sites.google.com/a/utg.edu.gm/alex
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Matching " within a varia, Martin Honnen | Thread | Re: [xsl] Matching " within a varia, Martin Honnen |
Re: [xsl] Associating javascript wi, Martin Honnen | Date | Re: [xsl] Matching " within a varia, Martin Honnen |
Month |