Re: Regular Expressions in MSXML 1

Subject: Re: Regular Expressions in MSXML 1
From: Gilles Marichal <gmaricha@xxxxxxxxx>
Date: Thu, 31 Aug 2000 16:58:51 -0700

Roland,


<xsl:template match="postalcode">
                <xsl:if expr="(postalCodeRE.replace(me.text, "ooo"))">
                <invalidBlock>

I can't seem to get this to work, keep getting "missing white space error"

It seems to me that the expr attribute value is invalid, due to the quoting of ooo with ".
Try <xsl:if expr='(postalCodeRE.replace(me.text, "ooo"))'>
or <xsl:if expr="(postalCodeRE.replace(me.text, 'ooo'))">


Regards,
        Gilles






___________________________________________________________ | Gilles Marichal | | | Adobe Systems Incorporated | Phone: 408 536 6354 | | Mailstop E15, | Fax: 408 537 4214 | | 321 Park Avenue, | E-mail: gmaricha@xxxxxxxxx | | San Jose, CA 95110-2704 | | | USA | | |_____________________________|____________________________|


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread