[xsl] most efficient escape quotes?

Subject: [xsl] most efficient escape quotes?
From: Robert Koberg <rob@xxxxxxxxxx>
Date: Tue, 10 Feb 2009 11:42:34 -0500
Hi,

With XSL 1.0 and XPath 1.0 I had used recursion to escape quotes. Using XPath 2.0, is the most efficient 'escape quotes' (\") the following:

<xsl:sequence select="string-join(tokenize(., '&quot;'), '\&quot;')"/>

Is there a more efficient (fastest, least memory) way?

thanks,
-Rob

Current Thread