[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: regexs, grouping (?) and XSLT2?
On Aug 7, 2004, at 3:43 PM, Bruce D'Arcus wrote:
I have paragraphs like: I figured out this part: <xsl:template match="xhtml:p"> <p> <xsl:analyze-string select="." regex='"(.*?|.*?\n.*?)"'> <xsl:matching-substring> <q><xsl:value-of select="regex-group(1)"/></q> </xsl:matching-substring> <xsl:non-matching-substring> <xsl:value-of select="."/> </xsl:non-matching-substring> </xsl:analyze-string> </p> </xsl:template> Bruce
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|