|
Subject: RE: Regular expression functions (Was: Re: [xsl] comments on Dece mber F&O draft) From: "Hunsberger, Peter" <Peter.Hunsberger@xxxxxxxxxx> Date: Tue, 8 Jan 2002 10:29:30 -0600 |
> > how do you define the scope, for one thing?
> they'd be template-local variables
>
>
> <xsl:apply-regexp-templates-to-string select="text()"/>
>
> ...
>
> <xsl:regexp-template match="\sqrt{([^{}]*)}">
> <msqrt>
> <xsl:apply-regexp-templates-to-string select="$1"/>
> </msqrt>
> </xsl:regexp-template>
>
Couldn't we just have a new attribute instead of a whole new tag? IE;
<xsl:apply-templates regexp-select-string="text()"/>
(if that's even needed) and:
<xsl:template regexp-match="\sqrt{....}">
It's just another way of matching templates, not a whole new concept???
Peter Hunsberger
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| RE: [xsl] XPath 2.0, DPawson | Thread | Re: Regular expression functions (W, David Carlisle |
| Re: [xsl] XPath 2.0, David Carlisle | Date | [xsl] How to know if an attribute i, Paul Terray |
| Month |