Re: [xsl] Using Regular Expressions with XSL

Subject: Re: [xsl] Using Regular Expressions with XSL
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 14 Nov 2002 17:05:31 GMT

>  You can't use an RE that contains a single-quote.

Is your problem _really_ to do with using a' in RE or just a matter of
getting an ' into an XPath string (which means you have to use &apos; or
&quot; somewhere, as in 

select=' .... " &apos; " ... '

ie use ' to deleimit the XML attribute, leaving " free to delimit the
XPath string, but then requiring &apos; to get the ' into the
'-delimited attribute.

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

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


Current Thread