This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Regular Expressions in MSXML 1



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@adobe.com |
| San Jose, CA 95110-2704     |                            |
| USA                         |                            |
|_____________________________|____________________________|


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]