[Home] [By Thread] [By Date] [Recent Entries]
rowan@xxxxxxxxxxxxxxxxxxxxx wrote:
That attribute regex allows an attribute value template I think so {} is supposed to have an XPath expression inside. You would need to double the curly braces or you can define a variable e.g. <xsl:variable name="pattern1" select="'^\s*\{([^\}]+)\}\s*$'"/> and then use that <xsl:analyze-string select="." regex="{$pattern1}"/> -- Martin Honnen http://msmvps.com/blogs/martin_honnen/
|

Cart



