Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
XML
regex-group() problem
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="mikea59, post: 776685"] I am getting errors in XMLSpy (Pro) in the following case: Source Document: <test> 12345 AB 12345 </test> Stylesheet: <xsl:stylesheet version="2.0" xmlns:xsl="[URL]http://www.w3.org/1999/XSL/Transform[/URL]" > <xsl:template match="test"> <xsl:analyze-string select="." regex=".* ([A-Z]+).*"> <xsl:matching-substring> Here it is: <xsl:value-of select="regex-group(1)"/> </xsl:matching-substring> <xsl:non-matching-substring> Didn"t find it. </xsl:non-matching-substring> </xsl:analyze-string> </xsl:template> </xsl:stylesheet> XMLSpy tells me that "regex-group(1)" is not valid. Can anyone explain why? [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
XML
regex-group() problem
Top