Hi all,
I am having trouble with 'xsl:analyze-string'. I have the following source XML:
Qt Code:
  1. <AUTHOR_CONTACT_INFORMATION>Plugin author can be reached at abc@yahoo.com for his email.</AUTHOR_CONTACT_INFORMATION>
To copy to clipboard, switch view to plain text mode 

And I am using the following XSLT:
Qt Code:
  1. <xsl:analyze-string select="AUTHOR_CONTACT_INFORMATION" regex="(abc@yahoo.com)">
  2. <xsl:matching-substring>
  3. <a href="{regex-group(1)}"><xsl:value-of select="regex-group(1)" /></a>
  4. </xsl:matching-substring>
  5. <xsl:non-matching-substring>
  6. <xsl:value-of select="." />
  7. </xsl:non-matching-substring>
  8. </xsl:analyze-string>
To copy to clipboard, switch view to plain text mode 

The idea is to replace email addresses and web links with HTML a href. (In the above example, I've just replaced RegEx expressions to make things easier) Using Qt4's QXmlQuery class as my XSLT processor gives me empty string. Using 'Altova XMLSpy' the above correctly displays the hyperlinked output. Qt4's conformance documentation says Qt4 supports 'xsl:analyze-string'. What am I doing wrong? Are there any working examples using 'xsl:analyze-string'?